moon update
python -m pip install -r examples/telemetry/requirements.txt
mkdir -p work
moon run --target js examples/telemetry -- produce work/batch.bin
python examples/telemetry/worker.py work/batch.bin work/report.bin
moon run --target js examples/telemetry -- verify work/report.binVerified independent report: accepted=4 rejected=2 mean=21 min=19.5 max=23moon run --target js cmd/packing -- pack work/batch.bin work/batch.packed.bin
capnp decode --packed examples/telemetry/schema/telemetry.capnp Batch < work/batch.packed.binInstall
Download zipCap'n Proto serialization runtime and schema code generation for MoonBit.