Click or drag to resize

AsyncManualResetEvent Class

Implements an async/await friendly equivalent of ManualResetEvent.
Inheritance Hierarchy
SystemObject
  Neon.TasksAsyncManualResetEvent

Namespace:  Neon.Tasks
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public class AsyncManualResetEvent : IDisposable

The AsyncManualResetEvent type exposes the following members.

Constructors
  NameDescription
Public methodAsyncManualResetEvent
Constructor.
Top
Methods
  NameDescription
Public methodClose
Releases any important resources associated with the instance.
Public methodDispose
Releases any important resources associated with the instance.
Protected methodDispose(Boolean)
Releases any important resources associated with the instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizer.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Sets the state of the event to non-signalled, causing tasks to block.
Public methodSet
Sets the state of the event to signalled allowing one or more waiting tasks to proceed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitAsync
Wait asynchronously for the event to be signalled.
Top
Thread Safety
Instance members of this type are safe for multi-threaded operations.
See Also