Skip to main content

Class: DependencyGraphServiceImpl

This class is an implementation for the service that is a singleton instance. Through this class you interact with the plugin.

Hierarchy

  • Subject

    DependencyGraphServiceImpl

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DependencyGraphServiceImpl(): DependencyGraphServiceImpl

Returns

DependencyGraphServiceImpl

Inherited from

Subject.constructor

Properties

dependencyGraph

Optional dependencyGraph: DependencyGraphBase

The concrete instance of the dependency graph

Defined in

src/service.ts:19


schema

schema: DependencyGraphSchema

Schema of dependencies generated by SchemaBuilder

Defined in

src/service.ts:14


subscriptions

subscriptions: Subscription[] = []

Inherited from

Subject.subscriptions

Defined in

src/subject.ts:8

Methods

notifySubscribers

notifySubscribers(event): Promise\<void>

Parameters

NameType
eventEvent

Returns

Promise\<void>

Inherited from

Subject.notifySubscribers

Defined in

src/subject.ts:20


onCollectionChange

onCollectionChange(args): Promise\<void>

Function called exclusively by the afterChange hook in each collection.

Parameters

NameType
argsOnCollectionChangeArgs\<any>

Returns

Promise\<void>

Defined in

src/service.ts:26


onCollectionDelete

onCollectionDelete(args): Promise\<void>

Function called exclusively by the afterDelete hook in each collection.

Parameters

NameType
argsOnCollectionDeleteArgs\<any>

Returns

Promise\<void>

Defined in

src/service.ts:68


onGlobalChange

onGlobalChange(args): Promise\<void>

Function called exclusively by the afterChange hook in each global.

Parameters

NameType
argsOnGlobalChangeArgs\<any>

Returns

Promise\<void>

Defined in

src/service.ts:92


subscribe

subscribe(callback): Subscription

Parameters

NameType
callbackSubscriptionCallback

Returns

Subscription

Inherited from

Subject.subscribe

Defined in

src/subject.ts:10


unsubscribe

unsubscribe(subscription): void

Parameters

NameType
subscriptionSubscription

Returns

void

Inherited from

Subject.unsubscribe

Defined in

src/subject.ts:16