Header menu logo IcedTasks

PolyfillBuilders Module

Functions and values

Function or value Description

async

Full Usage: async

Returns: AsyncExBuilder

Builds an asynchronous workflow using computation expression syntax. NOTE: This is the AsyncExBuilder defined in IcedTasks.

The difference between the AsyncBuilder and AsyncExBuilder is follows:

  • Allows use on System.IAsyncDisposable
  • Allows let! for Tasks, ValueTasks, and any Awaitable Type
  • When Tasks throw exceptions they will use the behavior described in Async.Await overload (esp. AwaitTask without throwing AggregateException)
  • Allow for on System.Collections.Generic.IAsyncDisposable

Returns: AsyncExBuilder

Type something to start searching.