mixin

Ext

const mixin Ext

Extension

methods onUnready

Callback before we stop the project This is called on dedicated background actor

settings

Settings for the extension

rt

Runtime which is proj if project ext or sys if system ext

subscriptions

Observable subscriptions for this extension

log

Logger to use for this extension

proj

Project if a project extension, otherwise raise exception

sys

System

observe

Subscribe this library to an observable

spec

Xeto spec for this extension

onHouseKeeping

Callback made periodically to perform background tasks

observables

Return list of observables this extension publishes

onStart

Callback when library is started

isRunning

Running flag

onSteadyState

Callback when extension reaches steady state

web

Web service handling for this extension

houseKeepingFreq

Override to return non-null for onHouseKeeping callback

name

Library dotted name that identifies the extension

onSettings

Callback when associated settings are modified

onStop

Callback when extension is stopped

onReady

Callback when all libs are fully started

houseKeepingFreq virtual Duration? houseKeepingFreq()

Override to return non-null for onHouseKeeping callback

isRunning Bool isRunning()

Running flag. On startup this flag transitions to true before calling onStart. On shutdown this flag transitions to false before calling onUnready and onStop. If the onStart callback raises an exception then this flag transitions back to false.

log Log log()

Logger to use for this extension

name Str name()

Library dotted name that identifies the extension

observables virtual Observable[] observables()

Return list of observables this extension publishes. This method must be overridden as a const field and set in the constructor.

observe Subscription observe(Str name, Dict config, Obj callback)

Subscribe this library to an observable. The callback must be an Actor instance or Method literal on this class. If callback is a method, then its called on the lib's dedicated background actor. pool. This method should be called in the onStart callback. The observation is automatically unsubscribed on stop. You should not unsubscribe this subscription - it must be managed by the extension itself. See Observables.

onHouseKeeping virtual Void onHouseKeeping()

Callback made periodically to perform background tasks. Override houseKeepingFreq to enable the frequency of this callback.

onReady virtual Void onReady()

Callback when all libs are fully started. This is called on dedicated background actor.

onSettings virtual Void onSettings()

Callback when associated settings are modified. This is called on dedicated background actor.

onStart virtual Void onStart()

Callback when library is started. This is called on dedicated background actor.

onSteadyState virtual Void onSteadyState()

Callback when extension reaches steady state. This is called on dedicated background actor.

onStop virtual Void onStop()

Callback when extension is stopped. This is called on dedicated background actor.

onUnready virtual Void onUnready()

Callback before we stop the project This is called on dedicated background actor.

proj virtual Proj proj()

Project if a project extension, otherwise raise exception

rt virtual Runtime rt()

Runtime which is proj if project ext or sys if system ext

settings virtual Dict settings()

Settings for the extension

spec Spec spec()

Xeto spec for this extension

subscriptions Subscription[] subscriptions()

Observable subscriptions for this extension

sys virtual Sys sys()

System

web virtual ExtWeb web()

Web service handling for this extension

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST