Skip to main content
This release is 25 versions behind 1.3.3 — the latest version of @fedify/fedify. Jump to latest

@fedify/fedify@1.1.0-dev.423+a30ce6dc
Built and signed on GitHub Actions

An ActivityPub/fediverse server framework

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
3 months ago (1.1.0-dev.423+a30ce6dc)
type alias InboxListener

A callback that listens for activities in an inbox.

Type Parameters

TContextData

The context data to pass to the Context.

TActivity extends Activity

The type of activity to listen for.

Definition

(
activity: TActivity,
) => void | Promise<void>

Add Package

deno add jsr:@fedify/fedify

Import symbol

import { type InboxListener } from "@fedify/fedify/federation";

---- OR ----

Import directly with a jsr specifier

import { type InboxListener } from "jsr:@fedify/fedify/federation";

Add Package

npx jsr add @fedify/fedify

Import symbol

import { type InboxListener } from "@fedify/fedify/federation";

Add Package

yarn dlx jsr add @fedify/fedify

Import symbol

import { type InboxListener } from "@fedify/fedify/federation";

Add Package

pnpm dlx jsr add @fedify/fedify

Import symbol

import { type InboxListener } from "@fedify/fedify/federation";

Add Package

bunx jsr add @fedify/fedify

Import symbol

import { type InboxListener } from "@fedify/fedify/federation";