ReadyOnlyInterface<LogicType extends Logic> constructor

ReadyOnlyInterface<LogicType extends Logic>(
  1. LogicType data
)

Creates a ready-only interface with the given payload shape.

Implementation

ReadyOnlyInterface(this.data)
    : super(
          portsFromProvider: [data],
          portsFromConsumer: [Logic.port('ready')]);