UNPKG

trigger.dev

Version:

A Command-Line Interface for Trigger.dev projects

13 lines (12 loc) • 496 B
/** * Holds an attempt's env values in Buffers that can be zeroed, so the controller keeps no long-lived * strings of them. Strings made by `toRecord()` stay in the heap until garbage collected. */ export declare class SecretEnv { private entries; private constructor(); /** Moves the values out of `env`, deleting its keys so it no longer references them. */ static takeFrom(env: Record<string, string>): SecretEnv; toRecord(): Record<string, string>; zero(): void; }