terminal property

bool get terminal

Implementation

bool get terminal =>
    state == BatchStreamState.complete || state == BatchStreamState.cancelled;