StreamProps: {
    optimisticSeconds: number;
}

The StreamModelProps are used to configure a StreamModel.

Type declaration

  • optimisticSeconds: number

    The number of seconds an optimistic dispatched event should be kept in memory. If it is not verified before this time, the event will expire and the optimistic state will no longer reflect the expired event.