Closed TimDaub closed 2 years ago
We can also look into changing the transform
interface as to not return any messages. Earlier we were using it to start new strategies but currently they don't serve any purpose.
you are right it sounds like an elegant solution this problem.
lineReader
a buffer is created that tracks all messages emitted by a transformer: https://github.com/neume-network/strategies/blob/54ca4226b8346dc4ede14042427c1c8826a72950/src/lifecycle.mjs#L34function transform
. But it never forwards those messages to the worker