Skip to content

ActorPath

Defined in: src/ActorPath.ts:5

Hierarchical, unique path identifying an actor inside an ActorSystem. Format: actor-ts:////

new ActorPath(name, parent?, systemName?, uid?): ActorPath

Defined in: src/ActorPath.ts:6

string

ActorPath | null

string = 'default'

number = 0

ActorPath

readonly name: string

Defined in: src/ActorPath.ts:7


readonly parent: ActorPath | null = null

Defined in: src/ActorPath.ts:8


readonly systemName: string = 'default'

Defined in: src/ActorPath.ts:9


readonly uid: number = 0

Defined in: src/ActorPath.ts:10

child(name, uid?): ActorPath

Defined in: src/ActorPath.ts:14

Create a child path under this one.

string

number = 0

ActorPath


depth(): number

Defined in: src/ActorPath.ts:30

Full depth of the path (root has depth 0).

number


elements(): string[]

Defined in: src/ActorPath.ts:19

All path segments from root to this path (including root).

string[]


equals(other): boolean

Defined in: src/ActorPath.ts:44

ActorPath

boolean


isAncestorOf(other): boolean

Defined in: src/ActorPath.ts:35

True if this path is an ancestor of other.

ActorPath

boolean


toString(): string

Defined in: src/ActorPath.ts:49

Canonical URI form: actor-ts://system/user/foo/bar

string