DynamicConsumerFake
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DynamicConsumerFake.type
Members list
Value members
Concrete methods
A constructor for a fake shard, for use with the DynamicConsumer.fake
ZLayer function. It takes a list of List[T]
and produces a ZStream of fake shards from it.
A constructor for a fake shard, for use with the DynamicConsumer.fake
ZLayer function. It takes a list of List[T]
and produces a ZStream of fake shards from it.
Type parameters
- R
-
Environment for
Serializer
- T
-
Type of the list element
Value parameters
- lists
-
list of shards - each shard is represented by a List of
T
- serializer
-
A
Serializer
used to convert elements to the Chunk[Byte] type expected byDynamicConsumer
Attributes
- Returns
-
A ZStream of fake shard with a generated shard name of the form
shardN
, whereN
is a zero based index - See also
-
DynamicConsumer.fake
A constructor for a fake shard, for use with the DynamicConsumer.fake
ZLayer function. It takes a list ZStream of type T
and produces a ZStream of fake shards from it.
A constructor for a fake shard, for use with the DynamicConsumer.fake
ZLayer function. It takes a list ZStream of type T
and produces a ZStream of fake shards from it.
Type parameters
- R
-
Environment for
Serializer
- T
-
Type of the ZStream element
Value parameters
- serializer
-
A
Serializer
used to convert elements to the Chunk[Byte] type expected byDynamicConsumer
- streams
-
list of shards - each shard is represented by a ZStream of
T
Attributes
- Returns
-
A ZStream of fake shard with a generated shard name of the form
shardN
, whereN
is a zero based index - See also
-
DynamicConsumer.fake