Containers Store
Constructors
Link copied to clipboard
constructor(bytes: ByteArray?, defaultIdentities: List<DefaultIdentity>?, callback: ContainersCallback)
Seeds the store from a stored document, or from the default identities when bytes is None. If a migration ran, the document is persisted before this returns.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The container bound to site, or 0 when there is none.
Link copied to clipboard
Link copied to clipboard
Moves the given public containers before position, or to the end when it is -1. Positions below -1 are rejected.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Drops the callback, so that a late mutation during teardown cannot reach an embedder that is already gone.
Link copied to clipboard
open override fun update(userContextId: UInt, name: String, icon: ContainerIcon, color: ContainerColor): Container?