Type of a constructor which, when used, returns an instance of T.
Check whether the elements of two arrays are equal.
First array
Second array
true
if both arrays have the same elements in the same order
and false
otherwise.
Get access to the extension's background window.
Download the data and return a url pointing to it.
Serialise an error so that it can persist outside of the Javascript environment.
Convert a function which takes a callback to a Promise.
Convert a function which takes a callback to a Promise.
Apply a theme to a React node and render it to renderTarget
Re-run a function until the return value meets the condition.
may take the number of attempts that preceded it (counting up from 0)
Build an error from a marshalled representation.
This creates an error of type Error
, custom errors
are not supported and instanceof
checks should not be used.
Instead use the [[Error.name]] property to distinguish between
error types!
Wait for an Element to exist in the DOM.
CSS selector to wait for
Node from which to use the selector. Defaults to document
Apply a timeout to a promise.
Timeout in milliseconds
The result of promise or undefined if it timed out
Wrap a React node with a Sentry logger which catches errors and displays a message to the user.
Apply a theme to a React node.
This wraps the provided node with both the modern [[ThemeProvider]] and the old [[MuiThemeProvider]].
Generated using TypeDoc
Utility functions for Dolos. These are some miscellaneous functions that didn't really fit anywhere else.