aboutsummaryrefslogtreecommitdiff
path: root/lib/src/lustre.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/lustre.gleam')
-rw-r--r--lib/src/lustre.gleam3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/src/lustre.gleam b/lib/src/lustre.gleam
index 2585a5b..a8bdfd9 100644
--- a/lib/src/lustre.gleam
+++ b/lib/src/lustre.gleam
@@ -247,6 +247,9 @@ pub fn start(
flags: flags,
) -> Result(fn(msg) -> Nil, Error)
+@external(javascript, "./lustre.ffi.mjs", "destroy")
+pub fn destroy(app: App(flags, model, msg)) -> Nil
+
// UTILS -----------------------------------------------------------------------
@external(javascript, "./lustre.ffi.mjs", "is_browser")