@sora-soft/framework / Scope
Abstract Class: Scope<T>
Defined in: packages/framework/src/lib/context/Scope.ts:5
Extended by
Type Parameters
| Type Parameter |
|---|
T |
Constructors
Constructor
ts
new Scope<T>(id, store): Scope<T>;Defined in: packages/framework/src/lib/context/Scope.ts:6
Parameters
| Parameter | Type |
|---|---|
id | string |
store | T |
Returns
Scope<T>
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
id_ | protected | string | packages/framework/src/lib/context/Scope.ts:37 |
stack_ | protected | string | packages/framework/src/lib/context/Scope.ts:39 |
store_ | protected | T | packages/framework/src/lib/context/Scope.ts:38 |
Accessors
id
Get Signature
ts
get id(): string;Defined in: packages/framework/src/lib/context/Scope.ts:33
Returns
string
stack
Get Signature
ts
get stack(): string;Defined in: packages/framework/src/lib/context/Scope.ts:29
Returns
string
store
Get Signature
ts
get store(): T;Defined in: packages/framework/src/lib/context/Scope.ts:25
Returns
T
Methods
setStore()
ts
setStore(data): void;Defined in: packages/framework/src/lib/context/Scope.ts:21
Parameters
| Parameter | Type |
|---|---|
data | T |
Returns
void