UNPKG

@bitcobblers/wod-wiki-library

Version:

A specialized markdown-like workout syntax editor and runtime for defining workouts

16 lines (15 loc) 600 B
import { UseCastReceiverResult } from './useCastReceiver'; import { UseCastSenderResult } from './useCastSender'; export interface ChromecastState { isAvailable: boolean; isConnected: boolean; isConnecting: boolean; deviceName: string | null; error: Error | null; } export type UseCastResult = UseCastSenderResult & UseCastReceiverResult; /** * Local/dev hook for simulating Chromecast sender/receiver in a fully connected state. * All messages sent are immediately echoed to event$ as if a receiver is always present. */ export declare function useLocalCast(): UseCastResult;