ActorPath
Defined in: src/ActorPath.ts:5
Hierarchical, unique path identifying an actor inside an ActorSystem.
Format: actor-ts://
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ActorPath(
name,parent?,systemName?,uid?):ActorPath
Defined in: src/ActorPath.ts:6
Parameters
Section titled “Parameters”string
parent?
Section titled “parent?”ActorPath | null
systemName?
Section titled “systemName?”string = 'default'
number = 0
Returns
Section titled “Returns”ActorPath
Properties
Section titled “Properties”
readonlyname:string
Defined in: src/ActorPath.ts:7
parent
Section titled “parent”
readonlyparent:ActorPath|null=null
Defined in: src/ActorPath.ts:8
systemName
Section titled “systemName”
readonlysystemName:string='default'
Defined in: src/ActorPath.ts:9
readonlyuid:number=0
Defined in: src/ActorPath.ts:10
Methods
Section titled “Methods”child()
Section titled “child()”child(
name,uid?):ActorPath
Defined in: src/ActorPath.ts:14
Create a child path under this one.
Parameters
Section titled “Parameters”string
number = 0
Returns
Section titled “Returns”ActorPath
depth()
Section titled “depth()”depth():
number
Defined in: src/ActorPath.ts:30
Full depth of the path (root has depth 0).
Returns
Section titled “Returns”number
elements()
Section titled “elements()”elements():
string[]
Defined in: src/ActorPath.ts:19
All path segments from root to this path (including root).
Returns
Section titled “Returns”string[]
equals()
Section titled “equals()”equals(
other):boolean
Defined in: src/ActorPath.ts:44
Parameters
Section titled “Parameters”ActorPath
Returns
Section titled “Returns”boolean
isAncestorOf()
Section titled “isAncestorOf()”isAncestorOf(
other):boolean
Defined in: src/ActorPath.ts:35
True if this path is an ancestor of other.
Parameters
Section titled “Parameters”ActorPath
Returns
Section titled “Returns”boolean
toString()
Section titled “toString()”toString():
string
Defined in: src/ActorPath.ts:49
Canonical URI form: actor-ts://system/user/foo/bar
Returns
Section titled “Returns”string