Skip to content

Instantly share code, notes, and snippets.

View gnarea's full-sized avatar
🤖
Assistant to the Regional Claude

Gus Narea gnarea

🤖
Assistant to the Regional Claude
View GitHub Profile
@aricart
aricart / node-nats-queue-worker-example.js
Last active February 18, 2020 14:30
queue worker node-nats-streaming
#!/usr/bin/env node
/*
* Copyright 2013-2019 The NATS Authors
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
@alanshaw
alanshaw / streaming-iterables.md
Last active July 16, 2026 15:49
Streaming iterables WAT?

Streaming iterables

Your friends from pull stream, but in terms of async iterators.

source it

A "source" is something that can be consumed. It is an iterable object.

const ints = {