makeTask overloads
Synopses
Declared in <folly/coro/Task.h>
Make a Task that trivially returns with no return value.
Same as makeTask(). See Unit
Task<void>
makeTask(Unit unit);
Make a task that trivially returns a value.
Return Value
-
an empty Task<void>.
-
a Task that yields the given value.
Parameters
Name |
Description |
unit |
an ignored Unit value |
t |
value to be returned by the Task |
Created with MrDocs