Skip to content

Commit

Permalink
Update src/stream/higher-order.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ewan Breakey <[email protected]>
  • Loading branch information
mdboon and giraugh authored May 7, 2024
1 parent 224c819 commit b42d3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream/higher-order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class HigherOrderStream<T, E> extends StreamTransforms<T, E> {
const trace = this.trace("cachedFlatMap");

return this.consume(async function* (it) {
const cache = new Map<string | number | symbol, Atom<U, E>[]>();
const cache = new Map<PropertyKey, Atom<U, E>[]>();

for await (const atom of it) {
if (!isOk(atom)) {
Expand Down

0 comments on commit b42d3bd

Please sign in to comment.