Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/esm/workerd/index.js

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/workerd/index.js";

Variables

This is the very constructor/class of all async functions.

This is the very constructor/class of all async generator functions.

v
Channel
deprecated

The entry of jsext major functions.

v
example
deprecated

This is the very constructor/class of all generator functions.

v
isClass
deprecated
v
isSubclassOf
deprecated
v
mixins
deprecated
v
Mutex
deprecated
v
Queue
deprecated
v
read
deprecated
v
readAll
deprecated

This is the superclass of all of all TypedArray subclasses, such as Uint8Array, Int16Array, etc.

Functions

Calls a function safely and return errors when captured.

Inspired by Golang, cerates a Channel that can be used to transfer data across routines.

Inspired by Golang, creates a function that receives a defer keyword which can be used to carry deferred jobs that will be run after the main function is complete.

Acquires a mutex lock for the given key in order to perform concurrent operations and prevent conflicts.

Constructs a Pipeline instance with the given value and performs pipe operations upon it.

Processes data sequentially by the given handler function and prevents concurrency conflicts, it returns a Queue instance that we can push data into.

Wraps a function inside another function and returns a new function that copies the original function's name and other properties.