(workflow: Workflow.Any)
| 238 | } |
| 239 | |
| 240 | const makeResultCodec = (workflow: Workflow.Any) => |
| 241 | S.fromJsonString(S.toCodecJson(Workflow.Result({ success: workflow.successSchema, error: workflow.errorSchema }))) |
| 242 | const resultCodecCache = new Map<string, ReturnType<typeof makeResultCodec>>() |
| 243 | const resultCodecFor = (workflow: Workflow.Any) => { |
| 244 | let c = resultCodecCache.get(workflow._tag) |
no test coverage detected
searching dependent graphs…