[ CCode ( has_construct_function = false ) ]
[ Version ( since = "0.4" ) ]
public Future.infinite ()
Creates an infinite future that will never resolve or reject.
This can be useful when you want to mock a situation of "run forever" unless another future rejects or resolves.
|
a [class@Dex.Future] that will never complete or reject |