UNPKG

@connectv/core

Version:

agent-based reactive programming library for typescript/javascript

10 lines (9 loc) 324 B
/** * * 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 declare function sampler(): import("./expr").Expr;