isTyping

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

Whether a borrowed text-only snapshot is waiting for its first assistant text.

import { isTyping } from '@threadplane/react/chat';

Declaration · overload 1

export declare function isTyping(snapshot: Pick<AgentSnapshot, 'status' | 'messages'>): boolean;

Parameters

snapshot · required
Pick<AgentSnapshot, 'status' | 'messages'>

Returns

boolean