Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public iterStorage(address: AddressString): AsyncIterable {
return AsyncIterableX.from(this.mutableClient.getAllStorage(address).then((res) => AsyncIterableX.from(res))).pipe(
// tslint:disable-next-line no-any
flatten() as any,
map((storageItem) => this.convertStorageItem(storageItem)),
);
}