custom • Rust AI Agent SDK

custom: Create custom event

custom

Method

</div>

This is a method of the Event class in the bus module.

Create custom event

Signature

python
def custom(source: impl Into<String>, data: serde_json::Value) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField serde_json::Value

No description available.

Returns

ResponseField Self

The result of the operation.