bracket<B> method

ReaderIOBuilder<ENV, B> bracket<B>({
  1. required ReaderIO<ENV, void> release(
    1. A
    ),
  2. required ReaderIO<ENV, B> use(
    1. A
    ),
})

Implementation

ReaderIOBuilder<ENV, B> bracket<B>({
  required RI.ReaderIO<ENV, void> Function(A) release,
  required RI.ReaderIO<ENV, B> Function(A) use,
}) =>
    ReaderIOBuilder(
      RI.bracket(
        use: use,
        release: release,
      )(_f),
    );