This type defines the base for the Beamable Promise.
More...
|
void | InvokeUncaughtPromise () |
|
|
Action< Exception > | errbacks |
|
Exception | err |
|
ExceptionDispatchInfo | errInfo |
|
StackTrace | _errStackTrace |
|
object | _lock = new object() |
|
|
bool | HadAnyErrbacks [getprotected set] |
| True if there are any registered error handlers.
|
|
bool | done [getset] |
|
static Promise< Unit > | SuccessfulUnit [get] |
|
bool | IsCompleted [get] |
| True when the promise has completed; false otherwise.
|
|
static bool | HasUncaughtErrorHandler [get] |
|
This type defines the base for the Beamable Promise.
Related Links
◆ SetPotentialUncaughtErrorHandler()
static void Beamable.Common.PromiseBase.SetPotentialUncaughtErrorHandler |
( |
PromiseEvent |
handler, |
|
|
bool |
replaceExistingHandlers = true |
|
) |
| |
|
inlinestatic |
Set error handlers for uncaught promise errors. Beamable has a default handler set in its API initialization.
- Parameters
-
handler | The new error handler. |
replaceExistingHandlers | When TRUE, will replace all previously set handlers. When FALSE, will add the given handler. |
The documentation for this class was generated from the following file:
- com.beamable/Common/Runtime/Promise.cs