Skip to main content
Module

x/rimbu/channel/mod.ts>SemaphoreError.SemaphoreError

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class SemaphoreError.SemaphoreError
Re-export
Abstract
import { SemaphoreError } from "https://deno.land/x/rimbu@1.0.2/channel/mod.ts";
const { SemaphoreError } = SemaphoreError;

The abstract base class/type for Semaphore Errors.

Constructors

new
InvalidConfigError(message: string)

Constructors

new
InsufficientCapacityError()

Constructors

new
CapacityUnderflowError()
function SemaphoreError.SemaphoreError
Re-export
import { SemaphoreError } from "https://deno.land/x/rimbu@1.0.2/channel/mod.ts";
const { SemaphoreError } = SemaphoreError;

Returns true if the given object is an instance of a SemaphoreError.

Parameters

obj: any
  • the value to test