Skip to content

SendOpts

Defined in: bindings/wasm/dist/bindings_wasm.d.ts:278

Options for the top-level send* convenience helpers. shouldPush is derived from the content type’s codec, so callers only control optimistic delivery and the idempotency key.

optional idempotencyKey?: string

Defined in: bindings/wasm/dist/bindings_wasm.d.ts:284

Optional idempotency key. Re-sending identical content with the same key produces the same message id and is deduplicated. Defaults to a timestamp.


optional optimistic?: boolean

Defined in: bindings/wasm/dist/bindings_wasm.d.ts:279