std.lib.context.registry

*registry*

dynamic

+init+

+null+

+rt-null+

registry-get

added in 3.0

(registry-get ctx)

gets the context type

(registry-get :null) => (contains-in {:context :null, :rt {:default {:key :default, :resource :hara/context.rt.null, :config {}}}})

registry-install

added in 3.0

(registry-install ctx)(registry-install ctx config)

installs a new context type

(registry-install :play.test)

registry-list

added in 3.0

(registry-list)

lists all contexts

(registry-list)

registry-rt

added in 3.0

(registry-rt ctx)(registry-rt ctx key)

gets the runtime type information

registry-rt-add

added in 3.0

(registry-rt-add ctx {:keys [key], :as config})

installs a context runtime type

registry-rt-list

added in 3.0

(registry-rt-list)(registry-rt-list ctx)

return all runtime types

(registry-rt-list)

registry-rt-remove

added in 3.0

(registry-rt-remove ctx key)

uninstalls a context runtime type

registry-scratch

added in 4.0

(registry-scratch ctx)

gets the scratch runtime for a registered context

registry-scratch-set!

added in 4.1

(registry-scratch-set! ctx scratch)

sets the scratch runtime for a registered context

registry-uninstall

added in 3.0

(registry-uninstall ctx)

uninstalls a new context type

(registry-uninstall :play.test)

rt-null?

added in 3.0

(rt-null? obj)

checks that object is of type NullRuntime