change_producer
faststream.nats.testing.change_producer #
change_producer(
config: ConfigComposition[NatsBrokerConfig],
producer: NatsFastProducer,
) -> Generator[None, None, None]
Source code in faststream/nats/testing.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | |