Wait for all Async
tasks to complete, then encode
the remaining concrete expression.
Wait for all Async
tasks to complete, then encode
the remaining concrete expression. The produced
bit vector may be read by remoteDecoder
. That is,
encodeRequest(r).flatMap(bits => decodeRequest(env).decode(bits))
should succeed, given a suitable env
which knows how
to decode the serialized values.
Use encode(r).map(_.toByteArray)
to produce a Task[Array[Byte]]
.
A Remote[Any]
decoder.
A Remote[Any]
decoder. If a Local
value refers
to a decoder that is not found in env
, decoding fails
with an error.