interface AppendOptions

Options for appending events.

Properties

optional
partitionKey: string

Key for partitioning and ordering. Events with the same key are ordered.

optional
metadata: Record<string, unknown>

Custom metadata to attach to the event.

optional
timestamp: number

Custom timestamp in milliseconds. Defaults to Date.now().

Usage

import { type AppendOptions } from ".";