Class ResultHookDispatchOptions<TResult>
Namespace: DotBoxD.Plugins.Runtime
Assembly: DotBoxD.Plugins.dll
Per-dispatch options for result-returning hooks. Local handlers keep the existing in-process semantics; the timeout applies only to remote result handlers because they cross an IPC boundary that can stall.
public sealed class ResultHookDispatchOptions<TResult> where TResult : struct, IHookResultType Parameters
Section titled “Type Parameters”TResult
Inheritance
Section titled “Inheritance”object ← ResultHookDispatchOptions<TResult>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Section titled “Properties”Default
Section titled “ Default”public static ResultHookDispatchOptions<TResult> Default { get; }Property Value
Section titled “Property Value”ResultHookDispatchOptions<TResult>
RemoteHandlerTimeout
Section titled “ RemoteHandlerTimeout”public TimeSpan RemoteHandlerTimeout { get; init; }Property Value
Section titled “Property Value”RemoteTimeoutResult
Section titled “ RemoteTimeoutResult”public TResult? RemoteTimeoutResult { get; init; }Property Value
Section titled “Property Value”TResult?
Methods
Section titled “Methods”FailClosedAfter(TimeSpan, TResult)
Section titled “ FailClosedAfter(TimeSpan, TResult)”public static ResultHookDispatchOptions<TResult> FailClosedAfter(TimeSpan timeout, TResult result)Parameters
Section titled “Parameters”timeout TimeSpan
result TResult
Returns
Section titled “Returns”ResultHookDispatchOptions<TResult>