Table of Contents

Class OperationStartResult

Namespace
NexusRpc.Handlers
Assembly
NexusRpc.dll

Helper for results of an operation start.

public static class OperationStartResult
Inheritance
OperationStartResult
Inherited Members

Methods

AsyncResult<TResult>(string)

Create an async result with a token.

public static OperationStartResult<TResult> AsyncResult<TResult>(string asyncOperationToken)

Parameters

asyncOperationToken string

Token.

Returns

OperationStartResult<TResult>

Start result with an async token.

Type Parameters

TResult

Result type, unused.

SyncResult<TResult>(TResult)

Create sync result with fixed result value.

public static OperationStartResult<TResult> SyncResult<TResult>(TResult resultValue)

Parameters

resultValue TResult

Synchronous result value.

Returns

OperationStartResult<TResult>

Start result with the result value.

Type Parameters

TResult

Result type.