aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/CancellationToken.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-06-26 15:52:32 -0300
committerSebastian <sebasjm@gmail.com>2022-06-26 15:52:32 -0300
commitccd289904dbfd49014b19ee9b480581cb4391a3e (patch)
treece8e7b6d229c6692d4906b98719cf03e38204d50 /packages/taler-util/src/CancellationToken.ts
parent1b91d87f4fa6c6d68f748360ce63d94911f9bb2c (diff)
downloadwallet-core-ccd289904dbfd49014b19ee9b480581cb4391a3e.tar.xz
- typo fix
Diffstat (limited to 'packages/taler-util/src/CancellationToken.ts')
-rw-r--r--packages/taler-util/src/CancellationToken.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-util/src/CancellationToken.ts b/packages/taler-util/src/CancellationToken.ts
index 134805274..73c092b1d 100644
--- a/packages/taler-util/src/CancellationToken.ts
+++ b/packages/taler-util/src/CancellationToken.ts
@@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
-const NOOP = () => {};
+const NOOP = () => { };
/**
* A token that can be passed around to inform consumers of the token that a
@@ -136,7 +136,7 @@ class CancellationToken {
* Whether the token can be cancelled.
*/
private _canBeCancelled: boolean,
- ) {}
+ ) { }
/**
* Create a {CancellationTokenSource}.
@@ -260,7 +260,7 @@ namespace CancellationToken {
cancel(reason?: any): void;
/**
- * Dipose of the token and this source and release memory.
+ * Dispose of the token and this source and release memory.
*/
dispose(): void;
}