export type SendFn = ((msg: string) => void) | null
