livebook/lib
Frank Hunleth 52e5273401
Support passing an MFA for customizing shutdown (#1519)
This commit lets you customize Livebook shutdown to gracefully power
off. One use case is for Nerves-based devices that need to do more than
call `System.stop/0` to power off.

This doesn't change the `LIVEBOOK_SHUTDOWN_ENABLED` environment
variable. It still works the same.

The `:shutdown_enabled` configuration is now `:shutdown_callback`. Valid
values are `nil` or an MFA. An unset or `nil` callback hides the
shutdown button in the UI.
2022-11-10 18:09:01 +01:00
..
livebook Support passing an MFA for customizing shutdown (#1519) 2022-11-10 18:09:01 +01:00
livebook_cli Rename the Explore section to Learn (#1424) 2022-09-21 12:06:22 +02:00
livebook_web Support passing an MFA for customizing shutdown (#1519) 2022-11-10 18:09:01 +01:00
livebook.ex Support passing an MFA for customizing shutdown (#1519) 2022-11-10 18:09:01 +01:00
livebook_app.ex Rename AppBuilder to AppBundler (#1283) 2022-07-19 14:48:07 +02:00
livebook_cli.ex Include full stacktrace for unexpected exceptions (#781) 2021-12-09 15:44:23 +01:00
livebook_web.ex Update to LV 0.18 (#1426) 2022-10-04 08:46:55 +02:00