isEventStream static method

bool isEventStream(
  1. Shape shape
)

Determines whether shape is an event stream.

Implementation

static bool isEventStream(Shape shape) =>
    shape.getType() == ShapeType.union && shape.isStreaming;