Class: UniverRPCNodeWorkerPlugin
Defined in: rpc-node/src/plugin.ts:72
Plug-in base class, all plug-ins must inherit from this base class. Provide basic methods.
Extends
Constructors
new UniverRPCNodeWorkerPlugin()
new UniverRPCNodeWorkerPlugin(_config, _injector): UniverRPCNodeWorkerPlugin
Defined in: rpc-node/src/plugin.ts:75
Parameters
Parameter | Type |
---|---|
_config | undefined |
_injector | Injector |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Overrides | Inherited from | Defined in |
---|---|---|---|---|---|---|
_disposed | protected | boolean | false | - | Plugin ._disposed | core/src/shared/lifecycle.ts:96 |
_injector | readonly | Injector | undefined | - | Plugin ._injector | rpc-node/src/plugin.ts:77 |
pluginName | static | string | 'UNIVER_RPC_NODE_WORKER_PLUGIN' | Plugin .pluginName | - | rpc-node/src/plugin.ts:73 |
type | static | UniverInstanceType | UniverInstanceType.UNIVER_UNKNOWN | - | Plugin .type | core/src/services/plugin/plugin.ts:35 |
Methods
dispose()
dispose(): void
Defined in: core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getPluginName()
getPluginName(): string
Defined in: core/src/services/plugin/plugin.ts:59
Returns
string
Inherited from
getUniverInstanceType()
getUniverInstanceType(): UniverInstanceType
Defined in: core/src/services/plugin/plugin.ts:55
Returns
Inherited from
onReady()
onReady(): void
Defined in: core/src/services/plugin/plugin.ts:43
Returns
void
Inherited from
onRendered()
onRendered(): void
Defined in: core/src/services/plugin/plugin.ts:47
Returns
void
Inherited from
onStarting()
onStarting(): void
Defined in: rpc-node/src/plugin.ts:82
Returns
void
Overrides
onSteady()
onSteady(): void
Defined in: core/src/services/plugin/plugin.ts:51
Returns
void