Packages

🌈 Ink bindings for Gleam! ✨

Current section

Files

Jump to
glink src instance.ffi.mjs
Raw

src/instance.ffi.mjs

export function rerender(instance, component) {
instance.rerender(component)
}
export function unmount(instance, error) {
instance.unmount(error)
}
export function wait_until_exit(instance, then) {
instance.waitUntilExit().then(then)
}
export function cleanup(instance) {
instance.cleanup()
}
export function clear(instance) {
instance.clear()
}