Home
last modified time | relevance | path

Searched refs:Bluebird (Results 1 – 25 of 33) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DtransformNestedGeneratorsWithTry.types3 import * as Bluebird from 'bluebird';
4 >Bluebird : PromiseConstructor
6 async function a(): Bluebird<void> {
7 >a : () => Bluebird<void>
10 const b = async function b(): Bluebird<void> {
11 >b : () => Bluebird<void>
12 … b(): Bluebird<void> { try { await Bluebird.resolve(); // -- remove this and it compil…
13 >b : () => Bluebird<void>
16 await Bluebird.resolve(); // -- remove this and it compiles
17 >await Bluebird.resolve() : void
[all …]
DtransformNestedGeneratorsWithTry.symbols3 import * as Bluebird from 'bluebird';
4 >Bluebird : Symbol(Bluebird, Decl(main.ts, 1, 6))
6 async function a(): Bluebird<void> {
8 >Bluebird : Symbol(Bluebird, Decl(main.ts, 1, 6))
11 const b = async function b(): Bluebird<void> {
14 >Bluebird : Symbol(Bluebird, Decl(main.ts, 1, 6))
17 await Bluebird.resolve(); // -- remove this and it compiles
18 >Bluebird.resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(…
19 >Bluebird : Symbol(Bluebird, Decl(main.ts, 1, 6))
38 type Bluebird<T> = Promise<T>;
[all …]
DtransformNestedGeneratorsWithTry.js5 import * as Bluebird from 'bluebird';
6 async function a(): Bluebird<void> {
8 const b = async function b(): Bluebird<void> {
10 await Bluebird.resolve(); // -- remove this and it compiles
20 type Bluebird<T> = Promise<T>;
21 const Bluebird: typeof Promise; constant
22 export = Bluebird;
65 var Bluebird = require("bluebird"); variable
67 return __awaiter(this, void 0, Bluebird, function () {
74 return __awaiter(this, void 0, Bluebird, function () {
[all …]
/third_party/typescript/tests/cases/compiler/
DtransformNestedGeneratorsWithTry.ts5 import * as Bluebird from 'bluebird';
6 async function a(): Bluebird<void> {
8 const b = async function b(): Bluebird<void> {
10 await Bluebird.resolve(); // -- remove this and it compiles
20 type Bluebird<T> = Promise<T>; alias
21 const Bluebird: typeof Promise; constant
22 export = Bluebird;
/third_party/node/deps/npm/lib/install/action/
Dfinalize.js4 const Bluebird = require('bluebird') constant
5 const rimraf = Bluebird.promisify(require('rimraf'))
6 const mkdirp = Bluebird.promisify(require('gentle-fs').mkdir)
7 const lstat = Bluebird.promisify(fs.lstat)
8 const readdir = Bluebird.promisify(fs.readdir)
9 const symlink = Bluebird.promisify(fs.symlink)
10 const gentlyRm = Bluebird.promisify(require('../../utils/gently-rm'))
13 const moveOpts = {fs: fs, Promise: Bluebird, maxConcurrency: 4}
84 …return mkdirp(path.join(pkg.realpath, 'node_modules')).then(() => Bluebird.map(modules, (file) => {
94 return Bluebird.try(() => {
Drefresh-package-json.js3 const Bluebird = require('bluebird') constant
5 const checkPlatform = Bluebird.promisify(require('npm-install-checks').checkPlatform)
9 const readJson = Bluebird.promisify(require('read-package-json'))
10 const updatePackageJson = Bluebird.promisify(require('../update-package-json'))
Dunbuild.js2 var Bluebird = require('bluebird') variable
3 var lifecycle = Bluebird.promisify(require('../../utils/lifecycle.js'))
5 var rmStuff = Bluebird.promisify(require('../../unbuild.js').rmStuff)
/third_party/node/deps/npm/node_modules/promise-inflight/
Dinflight.js4 let Bluebird variable
6 Bluebird = require('bluebird')
8 Bluebird = Promise
14 return Bluebird.all([unique, doFly]).then(function (args) {
18 return Bluebird.all(unique).then(function (uniqueArr) {
28 active[unique] = (new Bluebird(function (resolve) {
/third_party/node/deps/npm/node_modules/performance-now/test/
Dperformance-now.coffee4 Bluebird = require "bluebird"
31 Bluebird.resolve().delay(1).then -> assert.isAbove (now()-earlier), 0.2
35 Bluebird.resolve().delay(1).then -> assert.isBelow (now()-earlier), 3
39 Bluebird.resolve().delay(200).then -> assert.isAbove (now()-earlier), 190
43 Bluebird.resolve().delay(200).then -> assert.isBelow (now()-earlier), 220
/third_party/node/deps/npm/test/tap/
Dshrinkwrap-nested.js3 var Bluebird = require('bluebird') variable
126 return Bluebird.try(() => {
127 return Bluebird.join(
135 return Bluebird.join(
Dbundled-dependencies-nonarray.js2 var Bluebird = require('bluebird') variable
38 return Bluebird.try(() => {
Dls-l-depth-0.js5 var Bluebird = require('bluebird') variable
6 var mr = Bluebird.promisify(require('npm-registry-mock'))
Dls-depth-cli.js4 var Bluebird = require('bluebird') variable
5 var mr = Bluebird.promisify(require('npm-registry-mock'))
Dtree-style.js2 var Bluebird = require('bluebird') variable
75 return Bluebird.try(() => {
Doverride-bundled.js2 var Bluebird = require('bluebird') variable
135 return Bluebird.all([
/third_party/node/deps/npm/lib/
Daudit.js3 const Bluebird = require('bluebird') constant
17 const readFile = Bluebird.promisify(fs.readFile)
67 Bluebird.fromNode(cb => super.loadAllDepsIntoIdealTree(cb)).then(() => {
105 return Bluebird.fromNode(cb => super.loadAllDepsIntoIdealTree(cb))
157 return Bluebird.all([
249 return Bluebird.try(() => {
262 return Bluebird.fromNode(cb => {
Dupdate.js6 const Bluebird = require('bluebird') constant
10 const outdated = Bluebird.promisify(npm.commands.outdated)
66 return Bluebird.each(Object.keys(toInstall), (key) => {
Dtoken.js10 const Bluebird = require('bluebird') constant
188 return Bluebird.map(toRemove, (key) => {
Dinstall.js113 var Bluebird = require('bluebird') variable
586 Bluebird.map(failed, (pkg) => {
587 return Bluebird.map(pkg.rollback, (rollback) => rollback(top, staging, pkg))
641 this.auditSubmission = Bluebird.try(() => {
791 return Bluebird.try(() => {
793 return Bluebird.resolve(this.auditSubmission).timeout(10000).catch(() => null)
/third_party/node/deps/npm/lib/utils/
Dread-user-info.js2 const Bluebird = require('bluebird') constant
3 const readAsync = Bluebird.promisify(require('read'))
13 return Bluebird.try(() => {
Dmove.js6 const Bluebird = require('bluebird') constant
8 const options = {fs: fs, Promise: Bluebird, maxConcurrency: 4}
Dpulse-till-done.js4 const Bluebird = require('bluebird') constant
37 return Bluebird.resolve(promise).finally(() => pulseStop())
/third_party/node/deps/npm/node_modules/find-npm-prefix/test/
Dfind-prefix.js2 const Bluebird = require('bluebird') constant
24 return Bluebird.map(Object.keys(tests), dir => {
/third_party/node/deps/npm/node_modules/bluebird/
DREADME.md14 Bluebird is a fully featured promise library with focus on innovative features and performance
22 …re. Bluebird still includes a lot of features like cancellation, iteration methods and warnings th…
/third_party/node/deps/npm/test/
Dfake-registry.js3 const Bluebird = require('bluebird') constant
76 return new Bluebird((resolve, reject) => {

12