UNPKG

@connectv/core

Version:

agent-based reactive programming library for typescript/javascript

20 lines 730 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var control_1 = __importDefault(require("./control")); /** * * Creates a [value](https://connective.dev/docs/value) pin. A value * pin will emit its value each time all connected pins emit, or emit it * per subscription when no pins are connected to it. * [Checkout the docs](https://connective.dev/docs/value) for examples and further information. * * @param val * */ function value(val) { return control_1.default(val); } exports.value = value; exports.default = value; //# sourceMappingURL=value.js.map