Class InPlaceExecutor
In-process executor that drains pending native tasks on the current Graal isolate thread. Used with DXEndpoint (for example in the LocalHub role) for deterministic unit tests and advanced hosting scenarios.
public sealed class InPlaceExecutor : SafeHandle, IDisposable
- Inheritance
-
InPlaceExecutor
- Implements
- Inherited Members
Properties
IsInvalid
public override bool IsInvalid { get; }
Property Value
Methods
Create()
Creates a new executor bound to the current isolate thread.
public static InPlaceExecutor Create()
Returns
- InPlaceExecutor
A new executor instance.
ProcessAllPendingTasks()
Runs all tasks queued on this executor until the queue is drained.
public void ProcessAllPendingTasks()
ReleaseHandle()
protected override bool ReleaseHandle()