ChannelRequest

open inner class ChannelRequest(val receiver: ProcessModel.Entity, val predicate: (T) -> Boolean, priority: Int) : ModelElement.QObject(source)

Represents a request by an entity to receive a given amount of items from the channel that meet the criteria (predicate).

Parameters

receiver

the entity that wants the items

predicate

the criteria for selecting the items from the channel waiting for their request

Inheritors

Constructors

Link copied to clipboard
constructor(receiver: ProcessModel.Entity, predicate: (T) -> Boolean, priority: Int)

Properties

Link copied to clipboard
Link copied to clipboard

True if the request can not be filled at the time the property is accessed

Link copied to clipboard
val predicate: (T) -> Boolean
Link copied to clipboard