Module

x/jucid/mod.ts>Freeables

jucid is JSHy's fork of Lucid (jshy + lucid = jucid)
Latest
class Freeables
Abstract
import { Freeables } from "https://dotland.deno.dev/x/jucid@1.0.0-alpha.1/mod.ts";

This class makes it easier to free large sets of memory. It can be used like this:

const bucket: FreeableBucket = [];
try {
   const rustObject = C.some_rust_object();
   bucket.push(rustObject);
   ...
} finally {
   Freeables.free(...bucket);
}

Static Methods

free(...bucket: FreeableBucket)
import Freeables
import { Freeables } from "https://dotland.deno.dev/x/jucid@1.0.0-alpha.1/mod.ts";