( scope: Scope.Closeable, value: A )
| 52 | } |
| 53 | |
| 54 | const makeUnsafe = <A>( |
| 55 | scope: Scope.Closeable, |
| 56 | value: A |
| 57 | ): ScopedRef<A> => { |
| 58 | const self = Object.create(Proto) |
| 59 | self.backing = Synchronized.makeUnsafe([scope, value] as const) |
| 60 | return self |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Creates a new `ScopedRef` from an effect that acquires the initial value. |
no outgoing calls
no test coverage detected
searching dependent graphs…