refactor(tool): make Tool.Info init effectful (#21989)
This commit is contained in:
parent
27190635ea
commit
5ee7edaf9e
16 changed files with 196 additions and 193 deletions
|
|
@ -46,7 +46,7 @@ const it = testEffect(
|
|||
|
||||
const init = Effect.fn("ReadToolTest.init")(function* () {
|
||||
const info = yield* ReadTool
|
||||
return yield* Effect.promise(() => info.init())
|
||||
return yield* info.init()
|
||||
})
|
||||
|
||||
const run = Effect.fn("ReadToolTest.run")(function* (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue