import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/index.ts";
The missing utility types for TypeScript.
Variables
This is the very constructor/class of all async functions. | |
This is the very constructor/class of all async generator functions. | |
The entry of jsext major functions. | |
This is the very constructor/class of all generator functions. | |
Indicates whether the current thread is the main thread. | |
The maximum number of workers allowed to exist at the same time. If not set, the program by default uses CPU core numbers as the limit. | |
In browsers, by default, the program loads the worker entry directly from
GitHub, which could be slow due to poor internet connection, we can copy
the entry file | |
The maximum number of workers allowed to exist at the same time. If not set, use the same setting as parallel.maxWorkers. | |
This is the superclass of all of all |
Functions
f _try | Invokes an async generator function and renders its yield value and result in
an |
f chan | Inspired by Golang, cerates a Channel that can be used to transfer data across routines. |
Creates a debounced function that delays invoking | |
Marks a function as deprecated and returns a wrapped function. | |
f func | Inspired by Golang, creates a function that receives a |
f lock | Acquires a mutex lock for the given key in order to perform concurrent operations and prevent conflicts. |
Creates a class that combines all methods from the given base class and mixin classes. | |
f pipe | Constructs a Pipeline instance with the given value and performs pipe operations upon it. |
Processes data sequentially by the given | |
Creates a throttled function that will only be run once in a certain amount of time. | |
f wrap | Wraps a function inside another function and returns a new function that copies the original function's name and other properties. |
Interfaces
This interface represents the abstract constructor/class of the given | |
The | |
This interface represents the constructor/class of the given | |
A real-array-like object is an array-like object with a | |
Type Aliases
Constructs a type by ensuring the specified keys are required. | |
Constructs a type by making the specified keys optional. | |
Returns the primitive value held by the given type if its a wrapper object, otherwise returns the type itself. |