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

x/ayonli_jsext/parallel.ts>default.isMainThread

A JavaScript extension package for building strong and modern applications.
Latest
variable default.isMainThread
import { default } from "https://deno.land/x/ayonli_jsext@v0.9.72/parallel.ts";
const { isMainThread } = default;

Indicates whether the current thread is the main thread.

type

boolean