Caller-owned task object scheduled by FiberScheduler. More...
#include <Fibers.h>
Public Types | |
| using | Procedure = Function<Result(FiberScheduler&)> |
Public Member Functions | |
| FiberTask (const FiberTask &)=delete | |
| FiberTask & | operator= (const FiberTask &)=delete |
| FiberTask (FiberTask &&)=delete | |
| FiberTask & | operator= (FiberTask &&)=delete |
| bool | isValid () const |
| bool | isStarted () const |
| bool | isCompleted () const |
| bool | isActive () const |
| bool | isCancellationRequested () const |
| FiberTaskStatus | status () const |
| Result | result () const |
| void | setUserData (void *data) |
| void * | userData () const |
Friends | |
| struct | FiberTaskGroup |
| struct | FiberScheduler |
Caller-owned task object scheduled by FiberScheduler.