flyd icon indicating copy to clipboard operation
flyd copied to clipboard

question on serialize stream

Open lesar opened this issue 4 years ago • 0 comments

It is possible to serialize and deserialize stream like this:

const update = createStream();

const states = scan(
   ...
    ...,
    update
  );

I like to serialize these stream in isomorphic app on server and send to browser client page and in this page deserialize the stream to recreate the original stream and use it on client side.

is possible?
can you show an example.

best regards, Leonardo

lesar avatar Apr 30 '21 16:04 lesar