aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts')
-rw-r--r--packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts b/packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts
index 85f9acddc..1c0d509e6 100644
--- a/packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts
+++ b/packages/taler-wallet-core/src/crypto/workers/cryptoDispatcher.ts
@@ -15,7 +15,8 @@
*/
/**
- * API to access the Taler crypto worker thread.
+ * API to access the Taler crypto worker.
+ *
* @author Florian Dold
*/
@@ -76,6 +77,10 @@ interface WorkItem {
*/
const NUM_PRIO = 5;
+/**
+ * A crypto worker factory is responsible for creating new
+ * crypto workers on-demand.
+ */
export interface CryptoWorkerFactory {
/**
* Start a new worker.