def many
import ezmcp@0.1.0.0/src/web.bend as Webimport Base
import emerging-ezjson@1.2.0.0/src/value.bend as Value
49# the reply to a batch once its acts ran: 202 with no body when none had a
50# reply, else 200 with the array of the replies
51def many(replies: Maybe<&2, Value.Json>) -> Web:
52 match replies:
53 case None{}:
54 Now{202, [], ""}
55 case Some{batch}:
56 json.reply(200, batch)