Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

backgroundThread.ts

7 lines265 Bytes

1import { createContext } from "react";
2​
3/**
4 * True for a thread kept mounted under Settings or Usage, or shown as a side chat in its
5 * parent's panel; its global shortcuts and listeners stand down.
6 */
7export const BackgroundThreadContext = createContext(false);