Skip to content

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

InvalidateMessage type ​

What a tab posts when the app invalidates a synced query entry. A receiving tab invalidates the same entry.

Signature:

typescript
type InvalidateMessage = {
  v: typeof PROTOCOL_VERSION;
  type: 'invalidate';
  sourceId: string;
  msgId: number;
  queryId: string;
  keyArgs: readonly unknown[];
};

References: PROTOCOL_VERSION

Released under the MIT License.