Skip to main content

Interface: TemplateConfig

ghostly-engine.TemplateConfig

Ghostly Template configuration.

Hierarchy

Properties

logger

logger: Console

A Console to use for debug logging.

Defined in

ghostly-engine/src/engine.ts:13


templatePattern

templatePattern: RegExp

A regular expression that all template network requests must match, or else they will be forbidden.

Defined in

ghostly-engine/src/engine.ts:16


timeout

timeout: number

Timeout while waiting for a command response from the template. Defaults to 10 s.

NOTE: Any call by the template to ghostly.notify will reset the watchdog and start counting from 0 again!

Defined in

ghostly-engine/src/engine.ts:22