AsyncHelperSingleThreadContext Property
Gets a predefined context for non-async operations that forces to run a possibly parallel algorithm on a single thread, does not support reporting progress, and is not cancellable.
It actually returns a
SimpleContext instance.
See the
Examples section of the
AsyncHelper class for details about using
IAsyncContext.
Namespace: KGySoft.ThreadingAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static IAsyncContext SingleThreadContext { get; }
Public Shared ReadOnly Property SingleThreadContext As IAsyncContext
Get
public:
static property IAsyncContext^ SingleThreadContext {
IAsyncContext^ get ();
}
static member SingleThreadContext : IAsyncContext with get
Property Value
IAsyncContext