This package provides Fedify's KvStore
and MessageQueue
implementations for Redis:
import { createFederation } from "@fedify/fedify";
import { RedisKvStore, RedisMessageQueue } from "@fedify/redis";
import { Redis } from "ioredis";
const federation = createFederation({
kv: new RedisKvStore(new Redis()),
queue: new RedisMessageQueue(() => new Redis()),
});
deno add @fedify/redis
npm install @fedify/redis
bun add @fedify/redis
To be released.
- Added some example code.
Released on June 22, 2024.
- Exported
@fedify/redis/mq
module.
Initial release. Released on June 22, 2024.