Helpers for asynchronous operations.
Inheritance Hierarchy Namespace: NLog.CommonNLog (in NLog.dll) Version: 4.7.0+4d138800820311d0b60b6437f1dd2ed1d571d47d
Syntaxpublic static class AsyncHelpers
<ExtensionAttribute> Public NotInheritable Class AsyncHelpers You do not need to declare an instance of a static class in order to access its members.
[<AbstractClassAttribute>] [<SealedAttribute>] [<ExtensionAttribute>] type AsyncHelpers = class end
The AsyncHelpers type exposes the following members.
Methods Name Description ForEachItemInParallelTIterates over all items in the given collection and runs the specified action in parallel (each action executes on a thread from thread pool).
ForEachItemSequentiallyTIterates over all items in the given collection and runs the specified action in sequence (each action executes only after the preceding one has completed without an error).
GetCombinedExceptionGets the combined exception from all exceptions in the list.
PrecededByModifies the continuation by pre-pending given action to execute just before it.
PreventMultipleCallsWraps the continuation with a guard which will only make sure that the continuation function is invoked only once.
RepeatRepeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.
RunSynchronouslyRuns the specified asynchronous action synchronously (blocks until the continuation has been invoked).
WithTimeoutAttaches a timeout to a continuation which will invoke the continuation when the specified timeout has elapsed.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4