ThreadMessage.this

Constructor.

struct ThreadMessage
this
(,
const string content = string.init
,
shared Sendable payload = null
,
const bool quiet = false
,
const string caller = __FUNCTION__
)

Parameters

type MessageType

MessageType of this thread message.

content string

Optional content string.

payload Sendable

Optional boxed Sendable payload.

quiet bool

Whether or not to pass a flag for the action to be done quietly.

caller string

Name of calling function.