SwitchableLoggedBehavior<(Of <(<'TIn, TOut>)>)>..::..PushConstant Method

Changes the behavior to return a completed Task with the given constant value.

Namespace:  Akka.Remote.Transport
Assembly:  Akka.Remote (in Akka.Remote.dll)

Syntax


public void PushConstant(
	TOut result
)
Public Sub PushConstant ( _
	result As TOut _
)
public:
void PushConstant(
	TOut result
)

Parameters

result
Type: TOut
The constant the Task will be completed with.