hunk.code_window:   const resolvedDevTools = getLazy(devTools);
     const inspectMachine = createInspectMachine(resolvedDevTools);
     const inspectService = interpret(inspectMachine).start();
     const listeners = new Set<Observer<any>>();
     let targetWindow: Window | null | undefined;
     let client: any;
     const messageHandler = (event) => {
       if (
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:   const sub = inspectService.subscribe((state) => {
       listeners.forEach((listener) => listener.next(state));
     });
  
hunk.file_path: packages/xstate-inspect/src/browser.ts
hunk.type: add
file: export { useMachine, asEffect, asLayoutEffect } from './useMachine';
  export { useService } from './useService';
  export { useActor } from './useActor';
  