UNPKG

@connectv/core

Version:

agent-based reactive programming library for typescript/javascript

11 lines 381 B
import expr from './expr'; /** * * Creates a [sampler](https://connective.dev/docs/sampler). * A sampler passes on the last received value when receiving * a signal on its `.control`. * [Checkout the docs](https://connective.dev/docs/sampler) for examples and further information. * */ export function sampler() { return expr((x) => x); } //# sourceMappingURL=sampler.js.map