(...args: ReadonlyArray<any>)
| 1141 | /** |
| 1142 | * Creates a writable atom for an `Effect` or `Stream` function; writing an argument starts the computation and exposes its state as an `AsyncResult`. |
| 1143 | * |
| 1144 | * @category constructors |
| 1145 | * @since 4.0.0 |
| 1146 | */ |
| 1147 | export const fn: { |
| 1148 | <Arg>(): <E, A>(fn: (arg: Arg, get: FnContext) => Effect.Effect<A, E, Scope.Scope | AtomRegistry>, options?: { |
| 1149 | readonly initialValue?: A | undefined |
| 1150 | readonly concurrent?: boolean | undefined |
| 1151 | }) => AtomResultFn<Arg, A, E> |
no test coverage detected