Skip to content

Commit

Permalink
pushing export
Browse files Browse the repository at this point in the history
  • Loading branch information
karnthis committed Oct 14, 2024
1 parent c72ae8d commit c585847
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/classes/storageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,11 @@ export class StorageHandler extends EncodingHandler implements IStorageHandler {
}
}

/**
*
* @param {IBroadcastOptions} [options]
* @returns {Promise<void>}
*/
async checkAndUpcycle (options?: IBroadcastOptions): Promise<void> {
try {
if (this.reader.getConversionQueueLength() > 0) {
Expand Down Expand Up @@ -1284,6 +1289,11 @@ export class StorageHandler extends EncodingHandler implements IStorageHandler {
}
}

/**
*
* @param {IBroadcastOptions} [options]
* @returns {Promise<void>}
*/
async runUpcycleQueue (options?: IBroadcastOptions): Promise<void> {
try {
const postBroadcast =
Expand Down
4 changes: 4 additions & 0 deletions src/interfaces/classes/IStorageHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,8 @@ export interface IStorageHandler {
readSharing (): TSharedRootMetaDataMap

convert (options?: IBroadcastOrChainOptions): Promise<IWrappedEncodeObject[]>

checkAndUpcycle (options?: IBroadcastOptions): Promise<void>

runUpcycleQueue (options?: IBroadcastOptions): Promise<void>
}

0 comments on commit c585847

Please sign in to comment.