- Index
- »
- fan.hx
- »
- RuntimeExts
RuntimeExts
const mixin RuntimeExts
Runtime extension management
Convenience for RuntimeLibs.add lib with extension settings
List only my own exts (excluding those inherited from sys)
Lookup an extension by lib name (including those inherited from sys)
Lookup an extension by lib name (excluding those inherited from sys)
Return if extension is enabled (excluding those inherited from sys)
Actor thread pool to use for extension background processing
List only my own extensions (excluding those inherited from sys)
Return if extension is enabled (including those inherited from sys)
List all extensions (including those inherited from sys)
Iterate all extensions (including those inherited from sys)
abstract ActorPool actorPool()
Actor thread pool to use for extension background processing
abstract Ext add(Str name, Dict? settings)
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.
abstract Void each(|Ext| f)
Iterate all extensions (including those inherited from sys)
abstract Void eachOwn(|Ext| f)
List only my own extensions (excluding those inherited from sys)
abstract Ext? get(Str name, Bool checked)
Lookup an extension by lib name (including those inherited from sys). If not found then return null or raise UnknownExtErr based on checked flag.
abstract Ext? getOwn(Str name, Bool checked)
Lookup an extension by lib name (excluding those inherited from sys). If not found then return null or raise UnknownExtErr based on checked flag.
abstract Bool has(Str name)
Return if extension is enabled (including those inherited from sys)
abstract Bool hasOwn(Str name)
Return if extension is enabled (excluding those inherited from sys)
abstract Ext[] list()
List all extensions (including those inherited from sys)
abstract Ext[] listOwn()
List only my own exts (excluding those inherited from sys)