PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Async.Interfaces.IContinuation< T > Interface Template Reference

Provides a continuation point for another task with a result. More...

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

Public Member Functions

Task With (Action< Task< T > > action)
 Provides a continuation point for another task with the a result.
Task< TNext > With< TNext > (Func< Task< T >, TNext > func)
 Provides a continuation point for another task with the a result.

Detailed Description

Provides a continuation point for another task with a result.

Member Function Documentation

◆ With()

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

Provides a continuation point for another task with the a result.

Parameters
action
Returns

Implemented in PeanutButter.Async.Continuation< T >.

◆ With< TNext >()

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

Provides a continuation point for another task with the a result.

Parameters
func
Returns

Implemented in PeanutButter.Async.Continuation< T >.


The documentation for this interface was generated from the following file:
  • source/Async/PeanutButter.Async/Interfaces/IContinuation.cs