Skip to main content

new

Method
This is a method of the Event class in the bus module.
Create a new event

Signature

def new(event_type: EventType, source: impl Into<String>) -> Self

Parameters

event_type
EventType
required
No description available.
source
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.