ThreadRouting

Unpublished development API. This package is under development and is not available as a published release.

The active thread from the URL and the function that changes it.

import type { ThreadRouting } from '@threadplane/react/chat';

Declaration

export interface ThreadRouting  {
  readonly setThreadId: (threadId: string | null) => void;
  readonly threadId: string | null;
}

Members

setThreadId

readonly setThreadId: (threadId: string | null) => void;

threadId

readonly threadId: string | null;