More...
|
Task | Run (Action action) |
| Runs an action async.- Parameters
-
- Returns
|
Task< T > | Run< T > (Func< T > func) |
| Runs a func async and returns the task.- Parameters
-
- Template Parameters
-
- Returns
|
Task | RunLong (Action action, CancellationToken? token=null) |
| Runs the action as LongRunning.- Parameters
-
- Returns
|
Task< T > | CreateNotStartedFor< T > (Func< T > func, CancellationToken? cancellationToken=null) |
| Creates a suspended task for the provided func.- Parameters
-
- Template Parameters
-
- Returns
|
Task | CreateNotStartedFor (Action action, CancellationToken? cancellationToken=null) |
| Creates a suspended task for the provided action.- Parameters
-
- Returns
|
IContinuation | Continue (Task task1) |
| Continues the provided task.- Parameters
-
- Returns
|
IContinuation< T > | Continue< T > (Task< T > initial) |
| Continues the provided task.- Parameters
-
- Returns
|
◆ Continue()
IContinuation PeanutButter.Async.TaskRunner.Continue |
( |
Task | task1 | ) |
|
◆ Continue< T >()
◆ CreateNotStartedFor()
Task PeanutButter.Async.TaskRunner.CreateNotStartedFor |
( |
Action | action, |
|
|
CancellationToken? | cancellationToken = null ) |
◆ CreateNotStartedFor< T >()
◆ Run()
Task PeanutButter.Async.TaskRunner.Run |
( |
Action | action | ) |
|
◆ Run< T >()
◆ RunLong()
Task PeanutButter.Async.TaskRunner.RunLong |
( |
Action | action, |
|
|
CancellationToken? | token = null ) |
The documentation for this class was generated from the following file:
- source/Async/PeanutButter.Async/TaskRunner.cs