type

HxRuntimeLibs

const mixin HxRuntimeLibs

Haxall runtime library management APIs

methods

actorPool

Actor thread pool to use for libraries

add

Enable a library in the runtime

get

Lookup an enabled lib by name.

has

Check if there is an enabled lib with given name

list

List of libs currently enabled sorted by name

remove

Disable a library from the runtime.

Slot Details

actorPool

abstract ActorPool actorPool()

Actor thread pool to use for libraries

add

abstract HxLib add(Str name, Dict tags := Etc.emptyDict())

Enable a library in the runtime

get

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

Lookup an enabled lib by name. If not found then return null or raise UnknownLibErr based on checked flag.

has

abstract Bool has(Str name)

Check if there is an enabled lib with given name

list

abstract HxLib[] list()

List of libs currently enabled sorted by name

remove

abstract Void remove(Obj lib)

Disable a library from the runtime. The lib arg may be a HxLib instace, Lib definition, or Str name.