ready function
Resolves with the app once it runs: the page's app of `start()` by default, waiting for the call if it has not happened yet.
import { ready } from '@dioramajs/diorama'. Rejects if the app fails or is destroyed first.
const app = await ready()app.effects.get(el, 'ripple')function ready(app?: App): Promise<App>Parameters
| Name | Type | Description |
|---|---|---|
app? | App |
Also exported from @dioramajs/diorama/auto.
Defined in packages/diorama/src/attach.ts.