This is the Linux app named graphql-redis-subscriptions whose latest release can be downloaded as Updatetoioredis5.x,removeiteralldepedencyandpotentialperformanceincrease.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named graphql-redis-subscriptions with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS:
graphql-redis-subscriptions
DESCRIPTION:
This package implements the PubSubEngine Interface from the graphql-subscriptions package and also the new AsyncIterator interface. It allows you to connect your subscriptions manager to a Redis Pub Sub mechanism to support multiple subscription manager instances. As the graphql-subscriptions package is declared as a peer dependency, you might receive a warning about an unmet peer dependency if it's not installed already by one of your other packages. Calling the method asyncIterator of the RedisPubSub instance will send redis a SUBSCRIBE message to the topic provided and will return an AsyncIterator binded to the RedisPubSub instance and listens to any event published on that topic. Now, the GraphQL engine knows that somethingChanged is a subscription, and every time we will use pubsub.publish over this topic, the RedisPubSub will PUBLISH the event over redis to all other subscribed instances and those in their turn will emit the event to GraphQL using the next callback.
Features
- Define your GraphQL schema with a Subscription type
- Implement your Subscriptions type resolver, using the pubsub.asyncIterator to map the event you need
- Use a pattern on subscription
- Use both arguments and payload to filter events
- Dynamically create a topic based on subscription args passed on the query
- Configure RedisPubSub
Programming Language
TypeScript
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/graphql-redis-sub.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.