resumer

WebJar for resumer

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

resumer
Last Version

Last Version

0.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

resumer
WebJar for resumer
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/substack/resumer

Download resumer

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : through jar [2.3.4,2.4)

Project Modules

There are no modules declared in this project.

resumer

Return a through stream that starts out paused and resumes on the next tick, unless somebody called .pause().

This module has the same signature as through.

browser support

build status

example

var resumer = require('resumer');
var s = createStream();
s.pipe(process.stdout);

function createStream () {
    var stream = resumer();
    stream.queue('beep boop\n');
    return stream;
}
$ node example/resume.js
beep boop

methods

var resumer = require('resumer')

resumer(write, end)

Return a new through stream from write and end, which default to pass-through .queue() functions if not specified.

The stream starts out paused and will be resumed on the next tick unless you call .pause() first.

write and end get passed directly through to through.

install

With npm do:

npm install resumer

license

MIT

Versions

Version
0.0.0