(db: Database, hashes: Uint8Array[])
| 158 | } |
| 159 | |
| 160 | async function pull(db: Database, hashes: Uint8Array[]): Promise<Map<string, Uint8Array>> { |
| 161 | const out = new Map<string, Uint8Array>(); |
| 162 | for await (const { hash, bytes } of pushObjects(db, hashes)) { |
| 163 | out.set(hex(hash), bytes); |
| 164 | } |
| 165 | return out; |
| 166 | } |
no test coverage detected