AsyncHelperDoOperationSynchronously(ActionIAsyncContext, ParallelConfig) Method
Executes the specified
operation synchronously, in which some sub-operations may run in parallel.
See the
Examples section of the
AsyncHelper class for details.
Namespace: KGySoft.ThreadingAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public static void DoOperationSynchronously(
Action<IAsyncContext> operation,
ParallelConfig? configuration
)
Public Shared Sub DoOperationSynchronously (
operation As Action(Of IAsyncContext),
configuration As ParallelConfig
)
public:
static void DoOperationSynchronously(
Action<IAsyncContext^>^ operation,
ParallelConfig^ configuration
)
static member DoOperationSynchronously :
operation : Action<IAsyncContext> *
configuration : ParallelConfig -> unit
Parameters
- operation ActionIAsyncContext
- The operation to be executed.
- configuration ParallelConfig
- The configuration for the operation.