new • Rust AI Agent SDK

new: Create a new gateway event.

new

Method

</div>

This is a method of the GatewayEvent class in the gateway module.

Create a new gateway event.

Signature

python
def new(event_type: EventType) -> Self

Parameters

ParamField EventType

No description available.

Returns

ResponseField Self

The result of the operation.