Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/pact/src/pact-js/dsl/message.ts>MessageConsumer

Pact πŸ”— Contract Testing for Deno πŸ¦•, Powered by Rust πŸ¦€
Latest
type alias MessageConsumer
import { type MessageConsumer } from "https://deno.land/x/pact@0.1.0/src/pact-js/dsl/message.ts";

A Message Consumer is a function that will receive a message from a given Message Provider. It is given the full Message context during verification.

definition: (m: ConcreteMessage) => Promise<unknown>