package
0.7.0
Repository: https://github.com/pcelvng/task.git
Documentation: pkg.go.dev

# README

Nop Bus

Nop bus provides a no-operation producer and consumer mostly for testing.

# Functions

NewConsumer returns a nop (no-operation) Consumer.
NewProducer returns a nop (no-operation) Producer.

# Constants

Init_err returns err on NewConsumer.
returns a nil task message done=true on Consumer.Msg() call.
returns err on Consumer.Msg() call.
returns a non-nil task message and done=true Consumer.Msg() call.
No description provided by the author
returns err on Stop() method call.

# Variables

FakeMsg can be set to control the returned Msg() msg value.

# Structs

Consumer is a no-operation consumer.
Producer is a no-operation consumer.