Future.for_string


Description:

[ CCode ( has_construct_function = false ) ]
public Future.for_string (string string)

Creates a new [class@Dex.

Future] and resolves it with string.

Parameters:

string

the resolved value for the future

Returns:

a resolved [class@Dex.Future]