()
| 38 | |
| 39 | /** Create empty accumulator state for one provider stream. */ |
| 40 | export const empty = <K extends StreamKey>(): State<K> => ({}) |
| 41 | |
| 42 | const withTool = <K extends StreamKey>(tools: State<K>, key: K, tool: PendingTool): State<K> => { |
| 43 | return { ...tools, [key]: tool } |
no outgoing calls
no test coverage detected