()
| 12 | import * as TReentrantLock from "effect/TReentrantLock" |
| 13 | |
| 14 | const pollSchedule = <E, A>(): Schedule.Schedule<Option.Option<Exit.Exit<E, A>>, Option.Option<Exit.Exit<E, A>>> => |
| 15 | pipe( |
| 16 | Schedule.recurs(100), |
| 17 | Schedule.zipRight( |
| 18 | pipe( |
| 19 | Schedule.identity<Option.Option<Exit.Exit<E, A>>>(), |
| 20 | Schedule.whileOutput(Option.isNone) |
| 21 | ) |
| 22 | ) |
| 23 | ) |
| 24 | |
| 25 | describe("TReentrantLock", () => { |
| 26 | it.effect("one read lock", () => |
no test coverage detected