-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a close() method to PubSub, and a flush() method to Topic/P…
…ublisher (#916) 4097995 commit 4097995 Author: Megan Potter <[email protected]> Date: Thu Mar 26 11:03:26 2020 -0700 feat: add a close() method to PubSub, and a flush() method to Topic/Publisher (#916) * docs: fix a typo in a comment * feat: allow manually closing the server connections in the PubSub object * feat: add flush() method for Topic objects * tests: add tests for new flush() and close() methods * build: update github checkout action to v2 to fix spurious retry errors * fix: set isOpen to false before trying to close it so that all usage will stop
- Loading branch information
1 parent
c77aac4
commit a56e5c4
Showing
7 changed files
with
211 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters