-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these will have updates from the prefix; you need to use .lazy()
on prefix.
This still could have problems with filtering regarding the initial value, but this is a niche scenario that we can probably ignore.
fluent/ExtrinsicStatusRune.ts
Outdated
rune.into(ValueRune).map((value) => { | ||
console.log(...prefix, value) | ||
return value | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should use .log()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, does the placement of the prefix rune list matter (inside the inner Runes vs. wrapping this
and Rune.tuple(prefixes)
in another Rune.tuple
, and then mapping their results into the inner runes)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really, the solution is to have a .trackMap
or .metaMap
or whatever on MetaRune
and use that, but that can wait for later.
dbg
method onValueRune
accept Runes as prefixslogStatus
ofextrinsicStatusRune
accept Runes as prefixeslog
method onValueRune
(currently does same thing asdbg
, which will be reworked upon resolution of rune: add support for DI via env #517)