UNPKG

@nx/devkit

Version:

The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by

16 lines (15 loc) 344 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.runTasksInSerial = runTasksInSerial; /** * Run tasks in serial * * @param tasks The tasks to run in serial. */ function runTasksInSerial(...tasks) { return async () => { for (const task of tasks) { await task(); } }; }