Skip to content

sdk.container_service ​

Event-driven open-container lifecycle, indexing, roles, and bounded traversal. Physical identities are stable for one session generation; runtime container ids may be reused by the client and are therefore never exposed as identity.

lua
local M = require("sdk.container_service")

Constants ​

Lua 5.4 has no enums — these are integer (or string) fields on the module.

NameValueSummary
ServiceServiceContainer service class.

new ​

function · new(options?: ContainerServiceOptions): ContainerService?, ErrorMessage?

Fresh service instance with its own generation and broker owner name. autostart binds engine events unless opts.autostart == false (host tests).

Parameters

NameTypeSummary
optionsContainerServiceOptions—

Returns

TypeSummary
ContainerService?, ErrorMessage?—

get ​

function · get(options?: ContainerServiceOptions): ContainerService?, ErrorMessage?

Process singleton. The second call ignores most opts, so role rules must be supplied on the first get or they never apply.

Parameters

NameTypeSummary
optionsContainerServiceOptions—

Returns

TypeSummary
ContainerService?, ErrorMessage?—

Get ​

alias · Get(options?: ContainerServiceOptions): ContainerService?, ErrorMessage?

Same as get.

Alias

Same as get.

Parameters

NameTypeSummary
optionsContainerServiceOptions—

Returns

TypeSummary
ContainerService?, ErrorMessage?—

Arcane SDK catalog generated from scripts/sdk