@minecraft/server
    Preparing search index...

    Class WatchdogTerminateBeforeEventBeta

    Contains information related to a script watchdog termination.

    Index

    Properties

    cancel: boolean

    If set to true, cancels the termination of the script runtime. Note that depending on server configuration settings, cancellation of the termination may not be allowed.

    terminateReason: WatchdogTerminateReason

    Contains the reason why a script runtime is to be terminated.