Persist arbitrary per-thread state (e.g. workflow step).
(v: T)
| 123 | isSubscribed(): Promise<boolean>; |
| 124 | /** Persist arbitrary per-thread state (e.g. workflow step). */ |
| 125 | setState<T>(v: T): Promise<void>; |
| 126 | /** Read back per-thread state previously written with `setState`. */ |
| 127 | state<T>(): Promise<T | undefined>; |
| 128 | } |
no outgoing calls