Function type that returns the current date/time.
Used internally for timestamping operations. Can be overridden for testing.
Current date/time
const outbox = createOutboxConsumer({ // ... now: () => new Date('2024-01-01T00:00:00Z') // For testing}) Copy
const outbox = createOutboxConsumer({ // ... now: () => new Date('2024-01-01T00:00:00Z') // For testing})
Function type that returns the current date/time.
Used internally for timestamping operations. Can be overridden for testing.