We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
justland/just-web#21
const gizmo = define({ async create() { return [{}, () => () => 'clean up'] } })
How to trigger? This will be breaking change:
const [app, cleanup] = await incubate().with(...).create() cleanup()
One solution is to use symbol:
const app = await incubate().with(...).create() await cleanup(app) async function cleanup(app) { app[destructorSymbol]() }
or use the same pattern:
const app = await incubate().with(...).create(() => () => clean up)
This design conflict with #161. Need to find to way to make both of them work.
The text was updated successfully, but these errors were encountered:
93e47d8
No branches or pull requests
justland/just-web#21
How to trigger? This will be breaking change:
One solution is to use symbol:
or use the same pattern:
This design conflict with #161.
Need to find to way to make both of them work.
The text was updated successfully, but these errors were encountered: