Documentation
¶
Index ¶
- func Bytes(q *kernel.Enqueuer, cat string) (snd chan<- []byte, dlq <-chan []byte)
- func Event[M, T any](q *kernel.Enqueuer, category ...string) (snd chan<- swarm.Event[M, T], dlq <-chan swarm.Event[M, T])
- func Typed[T any](q *kernel.Enqueuer, category ...string) (snd chan<- T, dlq <-chan T)
- type EmitterBytes
- type EmitterEvent
- type EmitterTyped
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmitterBytes ¶
type EmitterBytes struct {
// contains filtered or unexported fields
}
Synchronous emitter of raw packets (bytes) to the broker. It blocks the routine until the message is accepted by the broker.
type EmitterEvent ¶
type EmitterEvent[M, T any] struct { // contains filtered or unexported fields }
Synchronous emitter of events to the broker. It blocks the routine until the event is accepted by the broker.
type EmitterTyped ¶
type EmitterTyped[T any] struct { // contains filtered or unexported fields }
Synchronous emitter of typed messages to the broker. It blocks the routine until the message is accepted by the broker.
Click to show internal directories.
Click to hide internal directories.