summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/CancellationToken.ts
diff options
context:
space:
mode:
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;
}