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

x/wasm_image_decoder/wasm/wasm_image_decoder.d.ts>initThreadPool

Decodes images using Rust's `image` crate compiled to WebAssembly
Latest
function initThreadPool
import { initThreadPool } from "https://deno.land/x/wasm_image_decoder@v0.0.7/wasm/wasm_image_decoder.d.ts";

Parameters

num_threads: number

Returns

Promise<any>