| import * as Cause from "./Cause.js"; | |
| import * as Effect from "./Effect.js"; | |
| import * as Exit from "./Exit.js"; | |
| /** | |
| * Converts a `Take` into a `Pull`, succeeding with value batches, failing with | |
| * failure exits, and translating successful exits into pull completion. | |
| * | |
| * **When to use** | |
| * | |
| * Use to interpret a stored or transferred `Take` as a `Pull` step while | |
| * preserving emitted batches, ordinary failures, and completion values. | |
| * | |
| * @category converting | |
| * @since 4.0.0 | |
| */ | |
| export const toPull = take => Exit.isExit(take) ? Exit.isSuccess(take) ? Cause.done(take.value) : take : Effect.succeed(take); | |
| //# sourceMappingURL=Take.js.map |
Xet Storage Details
- Size:
- 646 Bytes
- Xet hash:
- 9ebe1a30d5f55e7add22f89f46a5d2480f677aad7eb3a5725cbbb62fc7628ee8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.