Skip to main content

Built and signed on GitHub Actions

A collection of types and features for implementing the mediator pattern.

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
2 months ago (0.0.1)
type alias ParticipantTopicMessage

Represents a topical message published from a mediator to participants.

Type Parameters

T extends IndeterminateObject = IndeterminateObject
  • The topics-to-type map of the types being observed.
K extends keyof T = keyof T
  • The topic this message is published to.

Definition

PubSubTopicMessage<T, K>

Add Package

deno add jsr:@kz/mediator

Import symbol

import { type ParticipantTopicMessage } from "@kz/mediator";

---- OR ----

Import directly with a jsr specifier

import { type ParticipantTopicMessage } from "jsr:@kz/mediator";

Add Package

npx jsr add @kz/mediator

Import symbol

import { type ParticipantTopicMessage } from "@kz/mediator";

Add Package

yarn dlx jsr add @kz/mediator

Import symbol

import { type ParticipantTopicMessage } from "@kz/mediator";

Add Package

pnpm dlx jsr add @kz/mediator

Import symbol

import { type ParticipantTopicMessage } from "@kz/mediator";

Add Package

bunx jsr add @kz/mediator

Import symbol

import { type ParticipantTopicMessage } from "@kz/mediator";