class Semaphoreimport { Semaphore } from "https://deno.land/x/semaphore@v1.1.2/semaphore.ts"; ConstructorsnewSemaphore(count: number)Propertiesprivatetasks: (() => void)[]count: numberreadonlylength: numberreturns current scheduled tasks length Methodsprivateschedule()acquire()use<T>(fn: () => Promise<T>)