The ShutdownBeforeEventSignal class in @minecraft/server.
Class in @minecraft/server
import { ShutdownBeforeEventSignal } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Methods
Section titled “Methods”subscribe
Section titled “subscribe”subscribe(callback: (arg0: ShutdownEvent) => void): (arg0: ShutdownEvent) => void;Parameters
callback(arg0: ShutdownEvent) => void
Returns
(arg0: ShutdownEvent) => voidTypes
unsubscribe
Section titled “unsubscribe”unsubscribe(callback: (arg0: ShutdownEvent) => void): void;Parameters
callback(arg0: ShutdownEvent) => void
Types