UNPKG

vasille-jsx

Version:

The same framework which is designed to build bulletproof frontends (JSX components)

9 lines (8 loc) 305 B
import { awaited } from "../library.js"; import { devRef } from "./internal.js"; export function devAwaited(target, callback, declaration, inspector) { let i = 0; const result = awaited(target, v => devRef(v, declaration[i++], inspector)); callback(result[0], result[1]); return result; }