RunOnUnion
PackageAxial
Creates adaptive flow placements.
Specification
Kind
Union
Members
12
Examples
0
adaptiveSignature
RunOn.adaptive ()
adaptiveWithSignature
RunOn.adaptiveWith options
IsInlineSignature
this.IsInline
IsDedicatedThreadSignature
this.IsDedicatedThread
IsSchedulerSignature
this.IsScheduler
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Union cases | ||
| IsInline | this.IsInline | No description available. |
| IsDedicatedThread | this.IsDedicatedThread | No description available. |
| IsScheduler | this.IsScheduler | No description available. |
| IsThreadPool | this.IsThreadPool | No description available. |
| IsAdaptive | this.IsAdaptive | No description available. |
| Inline | Inline | Starts work on the calling thread. |
| ThreadPool | ThreadPool | Starts work on the .NET thread pool. |
| DedicatedThread | DedicatedThread | Starts work on a dedicated .NET thread. |
| Scheduler | Scheduler TaskScheduler | Starts work on the supplied .NET task scheduler. |
| Adaptive | Adaptive AdaptiveRunOnState | An adaptive placement created by RunOn.adaptive or RunOn.adaptiveWith. |
| Operations | ||
| adaptive | RunOn.adaptive () | Creates a placement that samples three invocation attempts, then permanently selects inline or thread-pool execution from their minimum synchronous hold time. |
| adaptiveWith | RunOn.adaptiveWith options | Creates a placement that samples the requested number of invocation attempts before deciding once from their minimum synchronous hold time. |
Union cases
kind:member
Operations
kind:member
kind:member
Creates a placement that samples the requested number of invocation attempts before deciding once from their minimum synchronous hold time. Failed and interrupted attempts count as samples.
Parameters
| Name | Type | Description |
|---|---|---|
| options | AdaptiveRunOnOptions |
Returns
RunOn

