UNPKG

rvx

Version:

A signal based rendering library

5 lines (4 loc) 154 B
/** * Internal utility to call a function with a specific stack frame. */ export declare function useStack<T, R>(stack: T[], frame: T, fn: () => R): R;