skyware-js / jetstream

A fully typed client for the Bluesky Jetstream (https://github.com/bluesky-social/jetstream) service.
Mozilla Public License 2.0
22 stars 0 forks source link

Is it possible to hot reload the wantedDids collection? #1

Open gabboman opened 5 days ago

gabboman commented 5 days ago

I've seen someone with the rust library doing it but Im not clever enough to add stuff myself to the websocket 😅

"For a bit of an example, on https://github.com/astrenoxcoop/supercell/blob/main/src/consumer.rs#L64-L68 the jetstream connection URL is made with the requireHello=true query string parameter set. Then on https://github.com/astrenoxcoop/supercell/blob/main/src/consumer.rs#L81-L93 the SubscriberSourcedMessage is sent through the open websocket connection. Defs are https://github.com/bluesky-social/jetstream/blob/main/pkg/server/subscriber.go#L127-L144 "

futurGH commented 3 days ago

Not possible yet, hoping to get around to adding that this weekend