Table of Contents

Class OperationStartResult<T>

Namespace
NexusRpc.Handlers
Assembly
NexusRpc.dll

Representation of a start result.

public class OperationStartResult<T>

Type Parameters

T

Result type.

Inheritance
OperationStartResult<T>
Inherited Members

Properties

AsyncOperationToken

Gets the async token if async, or null if sync.

public string? AsyncOperationToken { get; init; }

Property Value

string

IsSync

Gets a value indicating whether the result is sync.

public bool IsSync { get; }

Property Value

bool

SyncResultValue

Gets the sync result value. May be null if set as null or this result is async. Use IsSync to determine whether result is sync or async, not this value.

public T? SyncResultValue { get; init; }

Property Value

T