Summary
Runs the dispatcher's main loop.
- Namespace
- Avalonia
.Threading - Containing Type
- Dispatcher
Syntax
public void MainLoop(CancellationToken cancellationToken)
Parameters
Name | Type | Description |
---|---|---|
cancellationToken | CancellationToken | A cancellation token used to exit the main loop. |
Return Value
Type | Description |
---|---|
void |