Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.

Conversation

@reconbot
Copy link
Owner

No more do we need to prepare the resolver. The subscribe function now takes all the callbacks. We also now have

  • filter?: object | ((...args: SubscribeArgs) => object)
  • onSubscribe?: (...args: SubscribeArgs) => void | Promise
  • onComplete?: (...args: SubscribeArgs) => void | Promise
  • onAfterSubscribe?: (...args: SubscribeArgs) => PubSubEvent | Promise | undefined | Promise

@reconbot reconbot force-pushed the reconbot/new-callbacks branch from 5eb691e to 4d186b3 Compare August 12, 2021 13:49
No more do we need to prepare the resolver. The `subscribe` function now takes all the callbacks. We also now have 

- filter?: object | ((...args: SubscribeArgs) => object)
- onSubscribe?: (...args: SubscribeArgs) => void | Promise<void>
- onComplete?: (...args: SubscribeArgs) => void | Promise<void>
- onAfterSubscribe?: (...args: SubscribeArgs) => PubSubEvent | Promise<PubSubEvent> | undefined | Promise<undefined>
@reconbot reconbot force-pushed the reconbot/new-callbacks branch from 4d186b3 to 272e037 Compare August 12, 2021 14:56
@reconbot reconbot merged commit 26d491b into master Aug 12, 2021
@reconbot reconbot deleted the reconbot/new-callbacks branch August 12, 2021 17:18
@github-actions
Copy link

🎉 This PR is included in version 0.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants