@ledgerhq/zcash-utils 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -101,6 +101,15 @@ export declare class TransactionStream {
|
|
|
101
101
|
* This method is safe to call — it only mutates the internal channel receiver.
|
|
102
102
|
*/
|
|
103
103
|
next(): Promise<ShieldedTransaction | null>
|
|
104
|
+
/**
|
|
105
|
+
* Cancels the background scan immediately.
|
|
106
|
+
*
|
|
107
|
+
* Aborts the tokio task running the sync engine. Any buffered transactions
|
|
108
|
+
* already sent by Rust are still consumable via `next()`, which will then
|
|
109
|
+
* return `null` once the buffer is drained. `stats()` will return an error
|
|
110
|
+
* after cancellation.
|
|
111
|
+
*/
|
|
112
|
+
cancel(): void
|
|
104
113
|
/**
|
|
105
114
|
* Returns scan statistics once the stream is exhausted (i.e. after `next()`
|
|
106
115
|
* returns `null`). Calling this before the stream is done will wait until
|
package/index.darwin-arm64.node
CHANGED
|
Binary file
|
package/index.darwin-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
package/index.linux-x64-gnu.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|