| import { identity } from "../Function.js"; | |
| import { pipeArguments } from "../Pipeable.js"; | |
| const TypeId = "~effect/Stream"; | |
| const streamVariance = { | |
| _R: identity, | |
| _E: identity, | |
| _A: identity | |
| }; | |
| const StreamProto = { | |
| [TypeId]: streamVariance, | |
| pipe() { | |
| return pipeArguments(this, arguments); | |
| } | |
| }; | |
| /** @internal */ | |
| export const fromChannel = channel => { | |
| const self = Object.create(StreamProto); | |
| self.channel = channel; | |
| return self; | |
| }; | |
| //# sourceMappingURL=stream.js.map |
Xet Storage Details
- Size:
- 488 Bytes
- Xet hash:
- 7abbeb2b2e954aa49ed5f7ae28ca2129027edd6b46985416da1beff1f11592c9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.