def run
bend-kit-webhooks@0.11.0.1 · webhooks.bend:264
import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
264
265def run(-A: Data, c: Result<&1, &1, Err, A & String & List<&2, String>>, +std: Bool, +hex: Bool, secrets: List<&2, String>,
266 r: Bytes.Bytes & Bytes.Bytes) -> IO(Bytes.Bytes & Result<&1, &1, Err, A>):
267 match c:
268 case Fail{e}:
269 back(A, r, e)
270 case Done{(v, pre, sigs)}:
271 run.mac(A, v, pre, sigs, std, hex, secrets, r)