summaryrefslogtreecommitdiff
path: root/std/async
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-01-10 21:59:07 -0500
committerGitHub <noreply@github.com>2021-01-10 21:59:07 -0500
commit2b75a1155906613df16bad9d1eb84f3dc0ba571b (patch)
treefb6fdea18d774994d902b27c9bc841d2169a0420 /std/async
parentb0821fe9ce017ea1fdec191622f27c31af9c4f0f (diff)
update copyright to 2021 (#9081)
Diffstat (limited to 'std/async')
-rw-r--r--std/async/deferred.ts2
-rw-r--r--std/async/deferred_test.ts2
-rw-r--r--std/async/delay.ts2
-rw-r--r--std/async/delay_test.ts2
-rw-r--r--std/async/mod.ts2
-rw-r--r--std/async/mux_async_iterator.ts2
-rw-r--r--std/async/mux_async_iterator_test.ts2
-rw-r--r--std/async/pool.ts2
-rw-r--r--std/async/pool_test.ts2
-rw-r--r--std/async/test.ts2
10 files changed, 10 insertions, 10 deletions
diff --git a/std/async/deferred.ts b/std/async/deferred.ts
index c8760ce5d..ca05a29bb 100644
--- a/std/async/deferred.ts
+++ b/std/async/deferred.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// TODO(ry) It'd be better to make Deferred a class that inherits from
// Promise, rather than an interface. This is possible in ES2016, however
// typescript produces broken code when targeting ES5 code.
diff --git a/std/async/deferred_test.ts b/std/async/deferred_test.ts
index c411885d0..ba287f442 100644
--- a/std/async/deferred_test.ts
+++ b/std/async/deferred_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertThrowsAsync } from "../testing/asserts.ts";
import { deferred } from "./deferred.ts";
diff --git a/std/async/delay.ts b/std/async/delay.ts
index e3aec368f..0a9e1f529 100644
--- a/std/async/delay.ts
+++ b/std/async/delay.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/* Resolves after the given number of milliseconds. */
export function delay(ms: number): Promise<void> {
return new Promise((res): number =>
diff --git a/std/async/delay_test.ts b/std/async/delay_test.ts
index 087c3ffa1..e5f08f110 100644
--- a/std/async/delay_test.ts
+++ b/std/async/delay_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { delay } from "./delay.ts";
import { assert } from "../testing/asserts.ts";
diff --git a/std/async/mod.ts b/std/async/mod.ts
index ad4ab5156..0345d8caf 100644
--- a/std/async/mod.ts
+++ b/std/async/mod.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
export * from "./deferred.ts";
export * from "./delay.ts";
export * from "./mux_async_iterator.ts";
diff --git a/std/async/mux_async_iterator.ts b/std/async/mux_async_iterator.ts
index b434120bf..0bda4f579 100644
--- a/std/async/mux_async_iterator.ts
+++ b/std/async/mux_async_iterator.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { Deferred, deferred } from "./deferred.ts";
interface TaggedYieldedValue<T> {
diff --git a/std/async/mux_async_iterator_test.ts b/std/async/mux_async_iterator_test.ts
index 51c0349cc..e1bdb47b4 100644
--- a/std/async/mux_async_iterator_test.ts
+++ b/std/async/mux_async_iterator_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { assertEquals, assertThrowsAsync } from "../testing/asserts.ts";
import { MuxAsyncIterator } from "./mux_async_iterator.ts";
diff --git a/std/async/pool.ts b/std/async/pool.ts
index fc8517041..77ac8f0bd 100644
--- a/std/async/pool.ts
+++ b/std/async/pool.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
/**
* pooledMap transforms values from an (async) iterable into another async
diff --git a/std/async/pool_test.ts b/std/async/pool_test.ts
index 34fdc1c10..856f4cc0a 100644
--- a/std/async/pool_test.ts
+++ b/std/async/pool_test.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { pooledMap } from "./pool.ts";
import { assert } from "../testing/asserts.ts";
diff --git a/std/async/test.ts b/std/async/test.ts
index 57684a50e..590417055 100644
--- a/std/async/test.ts
+++ b/std/async/test.ts
@@ -1,2 +1,2 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import "./mod.ts";