GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — WIP: EventEmitter Subscription by rakyll · Pull Request #35 · googleapis/google-cloud-node

Conversation

@rakyll

@rakyll rakyll commented Jul 24, 2014

Copy link
Copy Markdown
Contributor

Please don't merge.

Modifying Subscription to poll messages automatically.

var sub = conn.subscribe('sub1', { autoAck: true });
sub.on('ready', console.log);
sub.on('error', function(err) {
  console.log(err);
});
sub.on('message', function(message) {
  console.log(message);
});
sub.close();

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
rakyll added 2 commits July 24, 2014 16:27
@rakyll
pubsub: Poll message and emit events.
e0dbd9c
@rakyll
Add TODO.
673e438
@rakyll rakyll added the 0.0.x label Jul 24, 2014
rakyll added 2 commits July 24, 2014 16:50
@rakyll
Adding TODO about the immutability of the subscriptions.
03c84f0
@rakyll
Convert message data to base64 and decode on pull.
41fde88
@rakyll

rakyll commented Jul 25, 2014

Copy link
Copy Markdown
Contributor Author

Benchmarks for 50 messages:

  • 17512ms without auto-ack
  • 32538ms with auto-ack
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rakyll added 11 commits July 25, 2014 15:47
@rakyll
pubsub: Subscriptions are designed to be persistent. Allow to close w…
95802bf
…ithout deletion.
@rakyll
pubsub: Subscribe should not involved in persistent subscription crea…
9db344a
…tion.
@rakyll
Allow options to be optional.
7ee2d87
@rakyll
pubsub: Allow to get a subscription without listening.
aab8eb9
@rakyll
Merge branch 'master' of github.com:GoogleCloudPlatform/gcloud-nodejs…
405cc6b
… into eventemitter-subs
@rakyll
Include regression tests to coverage.
50328b1
@rakyll
pubsub: Adding subscription creation.
cc3c0c1
@rakyll
pubsub: Fixing undefined callback.
f00eaad
@rakyll
pubsub: Add regression tests.
f054959
@rakyll
pubsub: Adding regression tests for subscriptions
8429c24
@rakyll
pubsub: Improving test coverage.
2461ac4
@rakyll

rakyll commented Jul 28, 2014

Copy link
Copy Markdown
Contributor Author

b/16573214 and b/16571871 for latency issues.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rakyll pushed a commit that referenced this pull request Jul 28, 2014
Burcu Dogan
Merge pull request #35 from rakyll/eventemitter-subs
58d06e7
WIP: EventEmitter Subscription
@rakyll
rakyll merged commit 58d06e7 into googleapis:master Jul 28, 2014
@snyk-bot snyk-bot mentioned this pull request May 21, 2020
[Snyk] Upgrade dns-zonefile from 0.1.18 to 0.2.6 aknuds1/gcloud-node#3
Open
chingor13 pushed a commit that referenced this pull request Aug 26, 2022
@release-please
chore: release 1.1.1 (#35)
2e27710
🤖 I have created a release \*beep\* \*boop\*
---
### [1.1.1](https://www.github.com/googleapis/nodejs-vpc-access/compare/v1.1.0...v1.1.1) (2021-08-25)


### Bug Fixes

* flag module as GA ([#34](https://www.github.com/googleapis/nodejs-vpc-access/issues/34)) ([1c41e41](https://www.github.com/googleapis/nodejs-vpc-access/commit/1c41e41f209f459be947622235b7062641a78d24))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Sep 12, 2022
@renovate-bot
chore(deps): update dependency ts-loader to v9 (#35)
78c4692
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ts-loader](https://togithub.com/TypeStrong/ts-loader) | [`^8.0.11` -> `^9.0.0`](https://renovatebot.com/diffs/npm/ts-loader/8.1.0/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/compatibility-slim/8.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/confidence-slim/8.1.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>TypeStrong/ts-loader</summary>

### [`v9.0.0`](https://togithub.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md#v900)

[Compare Source](https://togithub.com/TypeStrong/ts-loader/compare/v8.1.0...v9.0.0)

Breaking changes:

-   minimum webpack version: 5
-   minimum node version: 12

Changes:

-   [webpack 5 migration](https://togithub.com/TypeStrong/ts-loader/pull/1251) - thanks [@&#8203;johnnyreilly](https://togithub.com/johnnyreilly), [@&#8203;jonwallsten](https://togithub.com/jonwallsten), [@&#8203;sokra](https://togithub.com/sokra), [@&#8203;appzuka](https://togithub.com/appzuka), [@&#8203;alexander-akait](https://togithub.com/alexander-akait)

</details>

---

### Configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-artifact-registry).
chingor13 pushed a commit that referenced this pull request Sep 13, 2022
@release-please
chore: release 1.1.1 (#35)
95f34a7
🤖 I have created a release \*beep\* \*boop\*
---
### [1.1.1](https://www.github.com/googleapis/nodejs-vpc-access/compare/v1.1.0...v1.1.1) (2021-08-25)


### Bug Fixes

* flag module as GA ([#34](https://www.github.com/googleapis/nodejs-vpc-access/issues/34)) ([1c41e41](https://www.github.com/googleapis/nodejs-vpc-access/commit/1c41e41f209f459be947622235b7062641a78d24))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
chingor13 pushed a commit that referenced this pull request Sep 14, 2022
@renovate-bot
chore(deps): update dependency ts-loader to v9 (#35)
af971fd
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ts-loader](https://togithub.com/TypeStrong/ts-loader) | [`^8.0.11` -> `^9.0.0`](https://renovatebot.com/diffs/npm/ts-loader/8.1.0/9.0.0) | [![age](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/compatibility-slim/8.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/ts-loader/9.0.0/confidence-slim/8.1.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>TypeStrong/ts-loader</summary>

### [`v9.0.0`](https://togithub.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md#v900)

[Compare Source](https://togithub.com/TypeStrong/ts-loader/compare/v8.1.0...v9.0.0)

Breaking changes:

-   minimum webpack version: 5
-   minimum node version: 12

Changes:

-   [webpack 5 migration](https://togithub.com/TypeStrong/ts-loader/pull/1251) - thanks [@&#8203;johnnyreilly](https://togithub.com/johnnyreilly), [@&#8203;jonwallsten](https://togithub.com/jonwallsten), [@&#8203;sokra](https://togithub.com/sokra), [@&#8203;appzuka](https://togithub.com/appzuka), [@&#8203;alexander-akait](https://togithub.com/alexander-akait)

</details>

---

### Configuration

:date: **Schedule**: "after 9am and before 3pm" (UTC).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-artifact-registry).
@sofisl sofisl mentioned this pull request Sep 16, 2022
migrate code from googleapis/nodejs-os-login #3366
Closed
4 tasks
sofisl pushed a commit that referenced this pull request Sep 16, 2022
@JustinBeckwith
refactor: drop repo-tool as an exec wrapper (#35)
599851f
sofisl pushed a commit that referenced this pull request Sep 27, 2022
@alexander-fenster @stephenplusplus
chore: test on node10 (#35)
e4a0a08
@sofisl sofisl mentioned this pull request Sep 27, 2022
migrate code from googleapis/nodejs-video-intelligence #3374
Closed
4 tasks
sofisl pushed a commit that referenced this pull request Oct 5, 2022
@JustinBeckwith
refactor: drop repo-tool as an exec wrapper (#35)
9179a08
This was referenced Jan 27, 2026
migrate code from googleapis/cloud-profiler-nodejs #7045
Closed
migrate code from googleapis/cloud-profiler-nodejs #7046
Closed
migrate code from googleapis/cloud-profiler-nodejs #7047
Closed
migrate code from googleapis/cloud-profiler-nodejs #7048
Closed
migrate code from googleapis/cloud-profiler-nodejs #7049
Closed
migrate code from googleapis/cloud-profiler-nodejs #7051
Closed
migrate code from googleapis/cloud-profiler-nodejs #7052
Closed
migrate code from googleapis/cloud-profiler-nodejs #7057
Closed
migrate code from googleapis/cloud-profiler-nodejs #7060
Closed
migrate code from googleapis/cloud-profiler-nodejs #7062
Closed
migrate code from googleapis/cloud-profiler-nodejs #7066
Closed
migrate code from googleapis/cloud-profiler-nodejs #7067
Closed
migrate code from googleapis/cloud-profiler-nodejs #7068
Closed
migrate code from googleapis/cloud-profiler-nodejs #7071
Closed
@GautamSharda GautamSharda mentioned this pull request Feb 2, 2026
migrate code from googleapis/nodejs-logging-winston #7082
Closed
@sofisl sofisl mentioned this pull request Feb 3, 2026
migrate code from googleapis/cloud-profiler-nodejs #7087
Merged
4 tasks
@GautamSharda GautamSharda mentioned this pull request Feb 3, 2026
migrate code from googleapis/nodejs-logging-winston #7129
Merged
4 tasks
This was referenced Feb 4, 2026
migrate code from googleapis/nodejs-logging-bunyan #7136
Closed
migrate code from googleapis/nodejs-logging-bunyan #7137
Closed
migrate code from googleapis/nodejs-logging-bunyan #7138
Merged
@GautamSharda GautamSharda mentioned this pull request Feb 25, 2026
migrate code from googleapis/nodejs-bigquery-storage #7306
Closed
4 tasks
@GautamSharda GautamSharda mentioned this pull request Mar 5, 2026
migrate code from googleapis/nodejs-bigquery-storage #7496
Merged
4 tasks
@codyoss codyoss mentioned this pull request Mar 5, 2026
migrate code from googleapis/nodejs-projectify #7511
Merged
@GautamSharda GautamSharda mentioned this pull request Mar 5, 2026
migrate code from googleapis/nodejs-logging #7514
Merged
4 tasks
@codyoss codyoss mentioned this pull request Mar 9, 2026
migrate code from googleapis/nodejs-paginator #7536
Closed
@meltsufin meltsufin mentioned this pull request Mar 10, 2026
chore: migrate code from googleapis/nodejs-logging #7550
Merged
This was referenced Mar 11, 2026
migrate code from googleapis/nodejs-paginator #7590
Merged
migrate code from googleapis/nodejs-precise-date #7594
Merged
@GautamSharda GautamSharda mentioned this pull request Mar 12, 2026
migrate code from googleapis/nodejs-common #7597
Merged
4 tasks
@GautamSharda GautamSharda mentioned this pull request Mar 23, 2026
migrate code from googleapis/nodejs-bigtable #7852
Merged
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rakyll
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.