sample

WebJar for sample

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

sample
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

sample
WebJar for sample
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/Gozala/sample-reduce

Download sample

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/sample/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>sample</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/sample/
implementation 'org.webjars.npm:sample:0.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/sample/
implementation ("org.webjars.npm:sample:0.0.2")
'org.webjars.npm:sample:jar:0.0.2'
<dependency org="org.webjars.npm" name="sample" rev="0.0.2">
  <artifact name="sample" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='sample', version='0.0.2')
)
libraryDependencies += "org.webjars.npm" % "sample" % "0.0.2"
[org.webjars.npm/sample "0.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : reducible jar [1.0.1,1.1)

Project Modules

There are no modules declared in this project.

sample

Build Status

Library for sampling reducible signals (not very useful non eventual data structures as it's time based operation).

Docs

function sample(input, trigger, assemble) {
  /**
  Returns reducible signal of samples from the `input` every time an event
  occurs on the `trigger`. For example, `sample(position, clicks)` will return
  reducible collections of positions at a time of clicks. Result ends when
  either `input` or `trigger` ends. Optionally `assemble` function may be
  passed as a third argument, in which case it will be invoked at every sample
  with value from `input` and `trigger` and expected to return assembled
  sample.
  **/
}

Install

npm install sample

Versions

Version
0.0.2