UNPKG

@thi.ng/rstream

Version:

Reactive streams & subscription primitives for constructing dataflow graphs / pipelines

12 lines (11 loc) 314 B
var State = /* @__PURE__ */ ((State2) => { State2[State2["IDLE"] = 0] = "IDLE"; State2[State2["ACTIVE"] = 1] = "ACTIVE"; State2[State2["DONE"] = 2] = "DONE"; State2[State2["UNSUBSCRIBED"] = 3] = "UNSUBSCRIBED"; State2[State2["ERROR"] = 4] = "ERROR"; return State2; })(State || {}); export { State };