Skip to content

Add a NoThrowAwaitable for SwitchToMainThreadAsync #877

@sharwell

Description

@sharwell

It will be easier to avoid first chance exceptions if a NoThrowAwaitable extension method can be added for MainThreadAwaitable. The Boolean result of this custom awaitable would be true if the continuation executes on the main thread, and false if the continuation happened on any other thread.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions