Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class AmqpChannel
import { AmqpChannel } from "https://deno.land/x/amqp@v0.24.0/src/amqp_channel.ts";

Constructors

new
AmqpChannel(channelNumber: number, mux: AmqpMultiplexer)

Properties

receiveContent: <T extends number>(classId: T) => Promise<[ExtractProps<T>, Uint8Array]>

Methods

off(event: "deliver", handler: BasicDeliverHandler): void
off(event: "return", handler: BasicReturnHandler): void
on(event: "deliver", handler: BasicDeliverHandler): void
on(event: "return", handler: BasicReturnHandler): void
publish(
data: Uint8Array,
): Promise<void>
qos(args: BasicQosArgs): Promise<BasicQosOk>