DestroyFunction

[ callback function ]

interface DestroyFunction {
    (): void;
}

Various actions return a function of this type. It can be called to release resources such as an event registration.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

void

No return value

DestroyFunction 1:

Available from 1.8