Skip to content
You're viewing the docs for v0.19. The latest version is v0.20. Go to the latest docs

@ue-too/being-portable / defineHost

Function: defineHost() ​

defineHost(definition): Host

Defined in: being-portable/src/host.ts:92

Validates and freezes a host. Host code is trusted, so a malformed host throws instead of returning errors.

Parameters ​

definition ​

HostDefinition = {}

Returns ​

Host