MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / startSubscriptions

Method startSubscriptions

cli/src/events/manager.ts:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 async startSubscriptions() {
47 if (this.provider.canListenForEvents()) {
48 await this.subscribeCoreEvents();
49 await this.subscribeInitialScopesFromProvider();
50 }
51 }
52
53 private async subscribeInitialScopesFromProvider(): Promise<void> {
54 for (const { context, treeEventScopeIds } of this.provider.getInitialSubscriptionScopeIds()) {

Callers 2

createMethod · 0.95
actionMethod · 0.80

Calls 3

subscribeCoreEventsMethod · 0.95
canListenForEventsMethod · 0.65

Tested by

no test coverage detected