Skip to content

Documentation / scene / Host

Type Alias: Host

Host = IDisposable

Defined in: libs/scene/src/app/scriptingsystem.ts:35

A host object that supports disposal.

Hosts are objects to which scripts can be attached. They are expected to emit a 'dispose' event compatible with IDisposable so that scripts can be automatically detached when the host is destroyed.

Released under the MIT License.