PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Async.Continuation< T > Class Template Reference

/> More...

Inheritance diagram for PeanutButter.Async.Continuation< T >:
PeanutButter.Async.Interfaces.IContinuation< T > PeanutButter.Async.Interfaces.IContinuation

Public Member Functions

 Continuation (Task< T > taskWithResult)
 Creates the continuation around the task.
 Continuation (Task taskWithoutResult)
 Creates the continuation around the task.
Task With (Action< Task > action)
 Continues the continuation around the action.
Task With (Action< Task< T > > action)
 Continues the continuation around the action.
Task< TNext > With< TNext > (Func< Task< T >, TNext > func)
 Continues the continuation around the func.

Detailed Description

/>

Member Function Documentation

◆ Continuation() [1/2]

PeanutButter.Async.Continuation< T >.Continuation ( Task taskWithoutResult)

Creates the continuation around the task.

Parameters
taskWithoutResult

◆ Continuation() [2/2]

PeanutButter.Async.Continuation< T >.Continuation ( Task< T > taskWithResult)

Creates the continuation around the task.

Parameters
taskWithResult

◆ With() [1/2]

Task PeanutButter.Async.Continuation< T >.With ( Action< Task > action)

Continues the continuation around the action.

Parameters
action

Implements PeanutButter.Async.Interfaces.IContinuation.

◆ With() [2/2]

Task PeanutButter.Async.Continuation< T >.With ( Action< Task< T > > action)

Continues the continuation around the action.

Parameters
action

Implements PeanutButter.Async.Interfaces.IContinuation< T >.

◆ With< TNext >()

Task< TNext > PeanutButter.Async.Continuation< T >.With< TNext > ( Func< Task< T >, TNext > func)

Continues the continuation around the func.

Parameters
func

Implements PeanutButter.Async.Interfaces.IContinuation< T >.


The documentation for this class was generated from the following file:
  • source/Async/PeanutButter.Async/Continuation.cs