cloneWith method
Clones a copy of the current <EventStoreClientOperationOptions.
Implementation
EventStoreClientOperationOptions cloneWith({
Duration? timeoutAfter,
int? batchAppendSize,
bool? throwOnAppendFailure,
Duration? batchAppendDeadline,
}) =>
EventStoreClientOperationOptions(
timeoutAfter: timeoutAfter,
batchAppendSize: batchAppendSize ?? this.batchAppendSize,
batchAppendDeadline: batchAppendDeadline ?? this.batchAppendDeadline,
throwOnAppendFailure: throwOnAppendFailure ?? this.throwOnAppendFailure,
);