Function tarantool::trigger::on_shutdown
source · pub fn on_shutdown<F: FnOnce() + 'static>(cb: F) -> Result<(), TarantoolError>
Expand description
Set a callback to be called on Tarantool shutdown.
pub fn on_shutdown<F: FnOnce() + 'static>(cb: F) -> Result<(), TarantoolError>
Set a callback to be called on Tarantool shutdown.