Module gc

gc

Garbage collection interface for cycle collection.

Functions

collect function
fn() -> unit

Trigger the cycle collector to reclaim reference cycles.

Returns: unit

tracked_count function
fn() -> u64

Get the number of objects currently tracked by the cycle collector.

Returns: u64