From 1d12090bc349fa4e3a47800faa14f946573549b0 Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Fri, 15 Dec 2017 06:21:15 -0800 Subject: [PATCH] Move unused sleep module out of repo Reviewed By: rafeca Differential Revision: D6566682 fbshipit-source-id: 48cff465ace25d6d38b8574006e0c54081b8fbde --- packages/metro/src/lib/sleep.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 packages/metro/src/lib/sleep.js diff --git a/packages/metro/src/lib/sleep.js b/packages/metro/src/lib/sleep.js deleted file mode 100644 index d3adb14e..00000000 --- a/packages/metro/src/lib/sleep.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright (c) 2015-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @flow - * @format - */ - -'use strict'; - -function sleep(duration: number): Promise { - return new Promise(resolve => { - setTimeout(resolve, duration); - }); -} - -module.exports = sleep;