AmountRequest

constructor(receiver: ProcessModel.Entity, predicate: (T) -> Boolean, amountRequested: Int)

Parameters

receiver

the entity that wants the items

predicate

the criteria for selecting the items from the channel

amountRequested

the number of items (meeting the criteria) that are needed