type

RuntimeExts

const mixin RuntimeExts

Runtime extension management

methods

actorPool

Actor thread pool to use for extension background processing

add

Convenience for RuntimeLibs.add lib with extension settings.

each

Iterate all extensions (including those inherited from sys)

eachOwn

List only my own extensions (excluding those inherited from sys)

get

Lookup an extension by lib name (including those inherited from sys).

getOwn

Lookup an extension by lib name (excluding those inherited from sys).

has

Return if extension is enabled (including those inherited from sys)

hasOwn

Return if extension is enabled (excluding those inherited from sys)

list

List all extensions (including those inherited from sys)

listOwn

List only my own exts (excluding those inherited from sys)

Slot Details

actorPool

abstract ActorPool actorPool()

Actor thread pool to use for extension background processing

add

abstract Ext add(Str name, Dict? settings := null)

Convenience for RuntimeLibs.add lib with extension settings. If the library does not define an extension then the library is still added, but this method raises an exception.

each

abstract Void each(|Ext| f)

Iterate all extensions (including those inherited from sys)

eachOwn

abstract Void eachOwn(|Ext| f)

List only my own extensions (excluding those inherited from sys)

get

abstract Ext? get(Str name, Bool checked := true)

Lookup an extension by lib name (including those inherited from sys). If not found then return null or raise UnknownExtErr based on checked flag.

getOwn

abstract Ext? getOwn(Str name, Bool checked := true)

Lookup an extension by lib name (excluding those inherited from sys). If not found then return null or raise UnknownExtErr based on checked flag.

has

abstract Bool has(Str name)

Return if extension is enabled (including those inherited from sys)

hasOwn

abstract Bool hasOwn(Str name)

Return if extension is enabled (excluding those inherited from sys)

list

abstract Ext[] list()

List all extensions (including those inherited from sys)

listOwn

abstract Ext[] listOwn()

List only my own exts (excluding those inherited from sys)