xUnit.net
Public Member Functions | List of all members
Xunit.Sdk.IMessageBus Interface Reference

Used by discovery, execution, and extensibility code to send messages to the runner. More...

Inheritance diagram for Xunit.Sdk.IMessageBus:

Public Member Functions

bool QueueMessage (IMessageSinkMessage message)
 Queues a message to be sent to the runner. More...
 

Detailed Description

Used by discovery, execution, and extensibility code to send messages to the runner.

Member Function Documentation

◆ QueueMessage()

bool Xunit.Sdk.IMessageBus.QueueMessage ( IMessageSinkMessage  message)

Queues a message to be sent to the runner.

Parameters
messageThe message to be sent to the runner
Returns
Returns true if discovery/execution should continue; false, otherwise. The return value may be safely ignored by components which are not directly responsible for discovery or execution, and this is intended to communicate to those sub-systems that that they should short circuit and stop their work as quickly as is reasonable.

The documentation for this interface was generated from the following file: