function-loop

WebJar for function-loop

Лицензия

Лицензия

ISC
Группа

Группа

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

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

function-loop
Последняя версия

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

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

function-loop
WebJar for function-loop
Ссылка на сайт

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

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

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

https://github.com/isaacs/function-loop

Скачать function-loop

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

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

Зависимости

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

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

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

function-loop

Run a list of functions in order in a given object context. The functions can be callback-taking or promise-returning.

This module is zalgo-exposing, meaning that synchronous calls to the cb functions will result in a sync call to the supplied cb, and async calls will result in the cb being called asynchronously. It does not artificially defer if callbacks are called synchronously.

API

loop(context, functionList, doneCallback, errorCallback)

Run all the functions in the context of the context object, and then call the doneCallback or call the errorCallback if there are any errors.

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

Версия
1.0.2