add


Description:

public bool add (owned Future future)

Adds future to this.

If this is `null`, then the future will be disowned. Otherwise, future will be added to this.

Parameters:

this

a [class@Dex.TaskGroup]

future

a [class@Dex.Future]

Returns:

`false` if the group is closed or cancelled; otherwise `true`.