Home > @cascadiacollections/fluentui-compat > Async > (constructor)
Async.(constructor)
Creates a new Async instance.
Signature:
constructor(parent?: object, onError?: (error: any) => void);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
parent |
object |
(Optional) Optional parent object to bind as 'this' context in callbacks |
|
onError |
(error: any) => void |
(Optional) Optional error handler for exceptions in async callbacks |