Interface IEventLoop
- Namespace
- AngleSharp.Browser
- Assembly
- AngleSharp.dll
Represents the DOM event loop processing stages and steps of algorithms. See 7.1.4.2 Processing model.
public interface IEventLoop
- Extension Methods
Methods
CancelAll()
Cancels all running and remaining tasks.
void CancelAll()
Enqueue(Action<CancellationToken>, TaskPriority)
Enqueues a given task with the associated document.
ICancellable Enqueue(Action<CancellationToken> action, TaskPriority priority)
Parameters
action
Action<CancellationToken>The continuation action to enqueue.
priority
TaskPriorityThe priority to use.
Returns
- ICancellable
The created loop entry.
Spin()
Spins the event loop.
void Spin()