import { c as Sub, D as Dispose } from './core-sEWVgnpI.js'; /** * A Sub runner: given the Sub, the `ctx` and a `dispatch`, it opens the * resource and returns a `Dispose`. Every `from*` factory returns one. */ type SubscribeHandler = (sub: S, ctx: Ctx, dispatch: (msg: M) => void) => Dispose; export type { SubscribeHandler as S };