Class: DependencyGraphServiceImpl
This class is an implementation for the service that is a singleton instance. Through this class you interact with the plugin.
Hierarchy
↳
DependencyGraphServiceImpl
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new DependencyGraphServiceImpl(): DependencyGraphServiceImpl
Returns
Inherited from
Properties
dependencyGraph
• Optional
dependencyGraph: DependencyGraphBase
The concrete instance of the dependency graph
Defined in
schema
• schema: DependencyGraphSchema
Schema of dependencies generated by SchemaBuilder
Defined in
subscriptions
• subscriptions: Subscription
[] = []
Inherited from
Defined in
Methods
notifySubscribers
▸ notifySubscribers(event
): Promise
\<void
>
Parameters
Name | Type |
---|---|
event | Event |
Returns
Promise
\<void
>
Inherited from
Defined in
onCollectionChange
▸ onCollectionChange(args
): Promise
\<void
>
Function called exclusively by the afterChange
hook in each collection.
Parameters
Name | Type |
---|---|
args | OnCollectionChangeArgs \<any > |
Returns
Promise
\<void
>
Defined in
onCollectionDelete
▸ onCollectionDelete(args
): Promise
\<void
>
Function called exclusively by the afterDelete
hook in each collection.
Parameters
Name | Type |
---|---|
args | OnCollectionDeleteArgs \<any > |
Returns
Promise
\<void
>
Defined in
onGlobalChange
▸ onGlobalChange(args
): Promise
\<void
>
Function called exclusively by the afterChange
hook in each global.
Parameters
Name | Type |
---|---|
args | OnGlobalChangeArgs \<any > |
Returns
Promise
\<void
>
Defined in
subscribe
▸ subscribe(callback
): Subscription
Parameters
Name | Type |
---|---|
callback | SubscriptionCallback |
Returns
Inherited from
Defined in
unsubscribe
▸ unsubscribe(subscription
): void
Parameters
Name | Type |
---|---|
subscription | Subscription |
Returns
void