Skip to content

Interface: BusUnsubscribeMessage

Makaio Framework


Makaio Framework / bus-core / BusUnsubscribeMessage

Defined in: ../../../packages/bus-core/src/types/transports.ts:61

Unsubscribe message for client subscription management.

Priority arrays enable ref-counted unsubscription: the receiver removes only the listed handler priorities from its remote handler registry rather than wiping the entire subject entry.

subjects: Record<string, number[]>

Defined in: ../../../packages/bus-core/src/types/transports.ts:69

Subjects and the handler priorities being removed. Keys are subject patterns. Values are the specific priorities being unregistered (for ref-counting). An empty array removes the subject entirely (no handlers remain).


type: "unsubscribe"

Defined in: ../../../packages/bus-core/src/types/transports.ts:62