pull-cat

WebJar for pull-cat

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

pull-cat
Последняя версия

Последняя версия

1.1.11
Дата

Дата

Тип

Тип

jar
Описание

Описание

pull-cat
WebJar for pull-cat
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/pull-stream/pull-cat

Скачать pull-cat

Как подключить последнюю версию

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

pull-cat

Concatenate pull-streams

Install

npm install --save pull-cat

Example

Construct a new source stream from a sequential list of source streams, reading from each one in turn until it ends, then the next, etc. If one stream errors, then the rest of the streams are aborted immediately. If the cat stream is aborted (i.e. if it's sink errors) then all the streams are aborted.

A cat stream is a moderately challenging stream to implement, especially in the context of error states.

var cat = require('pull-cat')
var pull = require('pull-stream')

pull(
  cat([
    pull.values([1,2,3]),
    pull.values([4,5,6])
  ]),
  pull.log()
)
// 1
// 2
// 3
// 4
// 5
// 6

Api

cat = require('pull-cat')

stream = cat(streams)

Reads from each stream in streams until finished.

If a stream errors, stop all the streams. if the concatenated stream is aborted, abort all the streams, then callback to the aborter.

License

MIT

org.webjars.npm

Версии библиотеки

Версия
1.1.11