usagi
0.0.4-SNAPSHOT
common
usagi
/
dimensional.usagi.channel.consumer
Package-level
declarations
Types
Functions
Types
Consumer
Link copied to clipboard
data
class
Consumer
(
val
channel
:
Channel
,
val
tag
:
String
)
Delivery
Link copied to clipboard
data
class
Delivery
(
val
consumer
:
Consumer
,
val
envelope
:
Delivery.Envelope
,
val
properties
:
AMQP.Basic.Properties
,
val
data
:
ByteArray
)
Functions
for
Each
Link copied to clipboard
inline
fun
Consumer
.
forEach
(
scope
:
CoroutineScope
=
this.scope
,
noinline
block
:
suspend
(
Delivery
)
->
Unit
)
:
Job