Skip to content

API reference > @kontsedal/olas-cross-tab > CrossTabOptions

CrossTabOptions type ​

Options accepted by crossTabPlugin(...). SPEC §13.2.

Signature:

typescript
type CrossTabOptions = {
  channelName: string;
  onWarn?: (message: string, cause?: unknown) => void;
  channelFactory?: (name: string) => ChannelLike | undefined;
  maxPayloadBytes?: number;
  optimistic?: boolean;
  origins?: readonly string[];
  validate?: (queryId: string, data: unknown) => boolean;
};

References: ChannelLike

Released under the MIT License.