Type‑safe delegating wrapper for RunStore, forwarding all methods by name.
// Source: https://github.com/triggerdotdev/trigger.dev | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. // A pass-through over another RunStore. // // It exists so a decorator can override the handful of methods it cares about and inherit the rest. // // Every member restates the interface signature and forwards its arguments BY NAME, so the // forwarding is itself type-checked: a body that called the wrong delegate method, or dropped an // argument, does not compile. That is the whole point of the shape. An untyped forwarder would let // both mistakes through, because a pass-through has no other behaviour to catch them. // // Seven members are overloaded. Their overloads are decl ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key