(entries: ReadonlyArray<EventJournal.Entry>)
| 409 | ReadonlyArray<{ readonly entry: EventJournal.Entry; readonly conflicts: ReadonlyArray<EventJournal.Entry> }> |
| 410 | > = [] |
| 411 | const writeBatch = (entries: ReadonlyArray<EventJournal.Entry>) => |
| 412 | journal.writeFromRemote({ |
| 413 | remoteId: EventJournal.makeRemoteIdUnsafe(), |
| 414 | entries: remoteEntries(entries), |
| 415 | effect: (batch) => |
| 416 | Effect.sync(() => { |
| 417 | batches.push(batch) |
| 418 | }) |
| 419 | }) |
| 420 | yield* writeBatch([newer, otherEvent, otherKey]) |
| 421 | yield* writeBatch([older, sameBatch, sameMillis]) |
| 422 |
no test coverage detected