@genesislcap/foundation-state-machine 14.408.0 → 14.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/README.md +6 -26
  2. package/package.json +12 -12
  3. package/docs/api/foundation-state-machine.abstractmachine.actor.md +0 -18
  4. package/docs/api/foundation-state-machine.abstractmachine.binding.md +0 -102
  5. package/docs/api/foundation-state-machine.abstractmachine.complete.md +0 -13
  6. package/docs/api/foundation-state-machine.abstractmachine.context.md +0 -13
  7. package/docs/api/foundation-state-machine.abstractmachine.error.md +0 -13
  8. package/docs/api/foundation-state-machine.abstractmachine.errors.md +0 -13
  9. package/docs/api/foundation-state-machine.abstractmachine.getfromcontainer.md +0 -23
  10. package/docs/api/foundation-state-machine.abstractmachine.getmetavaluesbykey.md +0 -58
  11. package/docs/api/foundation-state-machine.abstractmachine.hastag.md +0 -58
  12. package/docs/api/foundation-state-machine.abstractmachine.machine.md +0 -18
  13. package/docs/api/foundation-state-machine.abstractmachine.matches.md +0 -58
  14. package/docs/api/foundation-state-machine.abstractmachine.md +0 -435
  15. package/docs/api/foundation-state-machine.abstractmachine.meta.md +0 -13
  16. package/docs/api/foundation-state-machine.abstractmachine.onsendevent.md +0 -13
  17. package/docs/api/foundation-state-machine.abstractmachine.output.md +0 -13
  18. package/docs/api/foundation-state-machine.abstractmachine.provide.md +0 -54
  19. package/docs/api/foundation-state-machine.abstractmachine.send.md +0 -54
  20. package/docs/api/foundation-state-machine.abstractmachine.snapshot.md +0 -13
  21. package/docs/api/foundation-state-machine.abstractmachine.start.md +0 -58
  22. package/docs/api/foundation-state-machine.abstractmachine.startingcontext.md +0 -13
  23. package/docs/api/foundation-state-machine.abstractmachine.startingstate.md +0 -13
  24. package/docs/api/foundation-state-machine.abstractmachine.state.md +0 -13
  25. package/docs/api/foundation-state-machine.abstractmachine.stop.md +0 -17
  26. package/docs/api/foundation-state-machine.apierror._constructor_.md +0 -80
  27. package/docs/api/foundation-state-machine.apierror.data.md +0 -11
  28. package/docs/api/foundation-state-machine.apierror.isunauthorized.md +0 -16
  29. package/docs/api/foundation-state-machine.apierror.md +0 -147
  30. package/docs/api/foundation-state-machine.apierror.status.md +0 -11
  31. package/docs/api/foundation-state-machine.assertevent.md +0 -72
  32. package/docs/api/foundation-state-machine.createerrorstatenode.md +0 -86
  33. package/docs/api/foundation-state-machine.createfetchpolicy.md +0 -122
  34. package/docs/api/foundation-state-machine.createresponsedataextractorwithdeserializer.md +0 -70
  35. package/docs/api/foundation-state-machine.defaultfetchconfig.md +0 -13
  36. package/docs/api/foundation-state-machine.defaultfetchmachine._constructor_.md +0 -50
  37. package/docs/api/foundation-state-machine.defaultfetchmachine.getfromcontainer.md +0 -23
  38. package/docs/api/foundation-state-machine.defaultfetchmachine.md +0 -99
  39. package/docs/api/foundation-state-machine.defaultfetchmachine.start.md +0 -58
  40. package/docs/api/foundation-state-machine.defaultfetchmachinecontext.md +0 -13
  41. package/docs/api/foundation-state-machine.defaultfetchpolicy.md +0 -13
  42. package/docs/api/foundation-state-machine.defaultresponsedataextractor.md +0 -18
  43. package/docs/api/foundation-state-machine.defaultresponseokchecker.md +0 -13
  44. package/docs/api/foundation-state-machine.defaultretrystatscodes.md +0 -13
  45. package/docs/api/foundation-state-machine.errorworkflowinput.md +0 -17
  46. package/docs/api/foundation-state-machine.escalateerror.md +0 -42
  47. package/docs/api/foundation-state-machine.fetchconfig.fetcher.md +0 -13
  48. package/docs/api/foundation-state-machine.fetchconfig.fetchpolicy.md +0 -13
  49. package/docs/api/foundation-state-machine.fetchconfig.md +0 -115
  50. package/docs/api/foundation-state-machine.fetchconfig.responsedataextractor.md +0 -13
  51. package/docs/api/foundation-state-machine.fetchconfig.responseokchecker.md +0 -13
  52. package/docs/api/foundation-state-machine.fetchmachine.md +0 -15
  53. package/docs/api/foundation-state-machine.fetchmachinecontext.controller.md +0 -13
  54. package/docs/api/foundation-state-machine.fetchmachinecontext.data.md +0 -13
  55. package/docs/api/foundation-state-machine.fetchmachinecontext.md +0 -120
  56. package/docs/api/foundation-state-machine.fetchmachinecontext.params.md +0 -17
  57. package/docs/api/foundation-state-machine.fetchmachinecontext.response.md +0 -13
  58. package/docs/api/foundation-state-machine.fetchmachineevent.md +0 -24
  59. package/docs/api/foundation-state-machine.fetchmachineeventmap.md +0 -21
  60. package/docs/api/foundation-state-machine.fetchmachineoutput.md +0 -21
  61. package/docs/api/foundation-state-machine.genesisservererror._constructor_.md +0 -82
  62. package/docs/api/foundation-state-machine.genesisservererror.getdetailserror.md +0 -15
  63. package/docs/api/foundation-state-machine.genesisservererror.getmessageerror.md +0 -15
  64. package/docs/api/foundation-state-machine.genesisservererror.haserrorcode.md +0 -50
  65. package/docs/api/foundation-state-machine.genesisservererror.isignorableerror.md +0 -17
  66. package/docs/api/foundation-state-machine.genesisservererror.md +0 -186
  67. package/docs/api/foundation-state-machine.genesisservererror.received.md +0 -11
  68. package/docs/api/foundation-state-machine.genesisservererror.sent.md +0 -11
  69. package/docs/api/foundation-state-machine.isaborterror.md +0 -54
  70. package/docs/api/foundation-state-machine.isactorerrorevent.md +0 -70
  71. package/docs/api/foundation-state-machine.isapierror.md +0 -52
  72. package/docs/api/foundation-state-machine.isdoneinvokeevent.md +0 -54
  73. package/docs/api/foundation-state-machine.iserrorcustomevent.md +0 -58
  74. package/docs/api/foundation-state-machine.iserrorevent.md +0 -54
  75. package/docs/api/foundation-state-machine.iserrortype.md +0 -54
  76. package/docs/api/foundation-state-machine.iseventwithparams.md +0 -54
  77. package/docs/api/foundation-state-machine.isgenesisservererror.md +0 -52
  78. package/docs/api/foundation-state-machine.ismappingerror.md +0 -52
  79. package/docs/api/foundation-state-machine.isnetworkerror.md +0 -52
  80. package/docs/api/foundation-state-machine.isnotfounderror.md +0 -54
  81. package/docs/api/foundation-state-machine.issyntaxerror.md +0 -54
  82. package/docs/api/foundation-state-machine.istypeerror.md +0 -54
  83. package/docs/api/foundation-state-machine.isunauthorizederror.md +0 -54
  84. package/docs/api/foundation-state-machine.logger.md +0 -12
  85. package/docs/api/foundation-state-machine.machine.actor.md +0 -18
  86. package/docs/api/foundation-state-machine.machine.binding.md +0 -122
  87. package/docs/api/foundation-state-machine.machine.complete.md +0 -13
  88. package/docs/api/foundation-state-machine.machine.context.md +0 -13
  89. package/docs/api/foundation-state-machine.machine.error.md +0 -13
  90. package/docs/api/foundation-state-machine.machine.errors.md +0 -13
  91. package/docs/api/foundation-state-machine.machine.getfromcontainer.md +0 -35
  92. package/docs/api/foundation-state-machine.machine.getmetavaluesbykey.md +0 -58
  93. package/docs/api/foundation-state-machine.machine.hastag.md +0 -65
  94. package/docs/api/foundation-state-machine.machine.machine.md +0 -18
  95. package/docs/api/foundation-state-machine.machine.matches.md +0 -65
  96. package/docs/api/foundation-state-machine.machine.md +0 -474
  97. package/docs/api/foundation-state-machine.machine.meta.md +0 -13
  98. package/docs/api/foundation-state-machine.machine.onsendevent.md +0 -54
  99. package/docs/api/foundation-state-machine.machine.output.md +0 -13
  100. package/docs/api/foundation-state-machine.machine.provide.md +0 -74
  101. package/docs/api/foundation-state-machine.machine.send.md +0 -54
  102. package/docs/api/foundation-state-machine.machine.snapshot.md +0 -13
  103. package/docs/api/foundation-state-machine.machine.start.md +0 -58
  104. package/docs/api/foundation-state-machine.machine.startingcontext.md +0 -13
  105. package/docs/api/foundation-state-machine.machine.startingstate.md +0 -13
  106. package/docs/api/foundation-state-machine.machine.state.md +0 -13
  107. package/docs/api/foundation-state-machine.machine.stop.md +0 -17
  108. package/docs/api/foundation-state-machine.machinecontext.error.md +0 -13
  109. package/docs/api/foundation-state-machine.machinecontext.errors.md +0 -13
  110. package/docs/api/foundation-state-machine.machinecontext.md +0 -96
  111. package/docs/api/foundation-state-machine.mappingerror._constructor_.md +0 -66
  112. package/docs/api/foundation-state-machine.mappingerror.dto.md +0 -11
  113. package/docs/api/foundation-state-machine.mappingerror.md +0 -93
  114. package/docs/api/foundation-state-machine.md +0 -600
  115. package/docs/api/foundation-state-machine.networkerror._constructor_.md +0 -64
  116. package/docs/api/foundation-state-machine.networkerror.md +0 -95
  117. package/docs/api/foundation-state-machine.networkerror.url.md +0 -11
  118. package/docs/api/foundation-state-machine.responsedataextractor.md +0 -18
  119. package/docs/api/foundation-state-machine.responseokchecker.md +0 -13
  120. package/docs/api/foundation-state-machine.seterror.md +0 -25
  121. package/docs/api/foundation-state-machine.seterrorbykey.md +0 -65
  122. package/docs/api/index.md +0 -30
  123. package/docs/api-report.md.api.md +0 -410
@@ -1,58 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isErrorCustomEvent](./foundation-state-machine.iserrorcustomevent.md)
4
-
5
- ## isErrorCustomEvent() function
6
-
7
- isErrorCustomEvent.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isErrorCustomEvent: <TData = any>(event: EventObject | ErrorEvent<TData>) => event is ErrorEvent<TData>
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- event
36
-
37
-
38
- </td><td>
39
-
40
- EventObject \| ErrorEvent&lt;TData&gt;
41
-
42
-
43
- </td><td>
44
-
45
- An event.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- event is ErrorEvent&lt;TData&gt;
54
-
55
- ## Remarks
56
-
57
- What `escalate` from a child is typed as.
58
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isErrorEvent](./foundation-state-machine.iserrorevent.md)
4
-
5
- ## isErrorEvent() function
6
-
7
- isErrorEvent.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isErrorEvent: <TData = any>(event: EventObject | ErrorEvent<TData>) => event is ErrorEvent<TData>
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- event
36
-
37
-
38
- </td><td>
39
-
40
- EventObject \| ErrorEvent&lt;TData&gt;
41
-
42
-
43
- </td><td>
44
-
45
- An event.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- event is ErrorEvent&lt;TData&gt;
54
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isErrorType](./foundation-state-machine.iserrortype.md)
4
-
5
- ## isErrorType() function
6
-
7
- isErrorType.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isErrorType: <TType extends ErrorConstructor>(type: TType) => (event: any) => boolean
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- type
36
-
37
-
38
- </td><td>
39
-
40
- TType
41
-
42
-
43
- </td><td>
44
-
45
- An event type.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- (event: any) =&gt; boolean
54
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isEventWithParams](./foundation-state-machine.iseventwithparams.md)
4
-
5
- ## isEventWithParams() function
6
-
7
- isEventWithParams.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isEventWithParams: (event: AnyEventObject) => event is ParameterizedObject
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- event
36
-
37
-
38
- </td><td>
39
-
40
- AnyEventObject
41
-
42
-
43
- </td><td>
44
-
45
- An event.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- event is ParameterizedObject
54
-
@@ -1,52 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isGenesisServerError](./foundation-state-machine.isgenesisservererror.md)
4
-
5
- ## isGenesisServerError() function
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isGenesisServerError: (error: unknown) => error is GenesisServerError
11
- ```
12
-
13
- ## Parameters
14
-
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- error
34
-
35
-
36
- </td><td>
37
-
38
- unknown
39
-
40
-
41
- </td><td>
42
-
43
- An error.
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- error is [GenesisServerError](./foundation-state-machine.genesisservererror.md)
52
-
@@ -1,52 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isMappingError](./foundation-state-machine.ismappingerror.md)
4
-
5
- ## isMappingError() function
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isMappingError: (error: unknown) => error is MappingError
11
- ```
12
-
13
- ## Parameters
14
-
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- error
34
-
35
-
36
- </td><td>
37
-
38
- unknown
39
-
40
-
41
- </td><td>
42
-
43
- An error.
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- error is [MappingError](./foundation-state-machine.mappingerror.md)
52
-
@@ -1,52 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isNetworkError](./foundation-state-machine.isnetworkerror.md)
4
-
5
- ## isNetworkError() function
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isNetworkError: (error: unknown) => error is NetworkError
11
- ```
12
-
13
- ## Parameters
14
-
15
- <table><thead><tr><th>
16
-
17
- Parameter
18
-
19
-
20
- </th><th>
21
-
22
- Type
23
-
24
-
25
- </th><th>
26
-
27
- Description
28
-
29
-
30
- </th></tr></thead>
31
- <tbody><tr><td>
32
-
33
- error
34
-
35
-
36
- </td><td>
37
-
38
- unknown
39
-
40
-
41
- </td><td>
42
-
43
- An error.
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- error is [NetworkError](./foundation-state-machine.networkerror.md)
52
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isNotFoundError](./foundation-state-machine.isnotfounderror.md)
4
-
5
- ## isNotFoundError() function
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isNotFoundError: (error: {
11
- status?: number;
12
- }) => error is APIError
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- error
36
-
37
-
38
- </td><td>
39
-
40
- { status?: number; }
41
-
42
-
43
- </td><td>
44
-
45
- An error.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- error is [APIError](./foundation-state-machine.apierror.md)
54
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isSyntaxError](./foundation-state-machine.issyntaxerror.md)
4
-
5
- ## isSyntaxError() function
6
-
7
- isSyntaxError.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isSyntaxError: ({ event }: {
13
- event: any;
14
- }) => boolean
15
- ```
16
-
17
- ## Parameters
18
-
19
- <table><thead><tr><th>
20
-
21
- Parameter
22
-
23
-
24
- </th><th>
25
-
26
- Type
27
-
28
-
29
- </th><th>
30
-
31
- Description
32
-
33
-
34
- </th></tr></thead>
35
- <tbody><tr><td>
36
-
37
- { event }
38
-
39
-
40
- </td><td>
41
-
42
- { event: any; }
43
-
44
-
45
- </td><td>
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- boolean
54
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isTypeError](./foundation-state-machine.istypeerror.md)
4
-
5
- ## isTypeError() function
6
-
7
- isTypeError.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- isTypeError: ({ event }: {
13
- event: any;
14
- }) => boolean
15
- ```
16
-
17
- ## Parameters
18
-
19
- <table><thead><tr><th>
20
-
21
- Parameter
22
-
23
-
24
- </th><th>
25
-
26
- Type
27
-
28
-
29
- </th><th>
30
-
31
- Description
32
-
33
-
34
- </th></tr></thead>
35
- <tbody><tr><td>
36
-
37
- { event }
38
-
39
-
40
- </td><td>
41
-
42
- { event: any; }
43
-
44
-
45
- </td><td>
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- boolean
54
-
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [isUnauthorizedError](./foundation-state-machine.isunauthorizederror.md)
4
-
5
- ## isUnauthorizedError() function
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- isUnauthorizedError: (error: {
11
- status?: number;
12
- }) => error is APIError
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- error
36
-
37
-
38
- </td><td>
39
-
40
- { status?: number; }
41
-
42
-
43
- </td><td>
44
-
45
- An error.
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- error is [APIError](./foundation-state-machine.apierror.md)
54
-
@@ -1,12 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [logger](./foundation-state-machine.logger.md)
4
-
5
- ## logger variable
6
-
7
-
8
- **Signature:**
9
-
10
- ```typescript
11
- logger: import("@genesislcap/foundation-logger").Logger
12
- ```
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-state-machine](./foundation-state-machine.md) &gt; [Machine](./foundation-state-machine.machine.md) &gt; [actor](./foundation-state-machine.machine.actor.md)
4
-
5
- ## Machine.actor property
6
-
7
- Optional actor
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- readonly actor?: InterpreterFrom<StateMachine<TContext, TEvent, TAction, TActor, TInput, TResolvedTypesMeta>>;
13
- ```
14
-
15
- ## Remarks
16
-
17
- Callers can decide to reuse/reference if set or create their own.
18
-