UNPKG

@zedux/atoms

Version:

A Molecular State Engine for React

12 lines (11 loc) 473 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.injectSelf = void 0; const EvaluationStack_1 = require("../classes/EvaluationStack"); /** * An unrestricted injector (can actually be used in loops and if statements). * * Returns the currently-evaluating AtomInstance. Note that this instance will * not have its `exports`, `promise`, or `store` set yet on initial evaluation. */ exports.injectSelf = EvaluationStack_1.readInstance;