Subscription Count • Rust AI Agent SDK

subscription_count: Get subscription count for an event type

subscription_count

Method

</div>

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

Get subscription count for an event type

Signature

python
def subscription_count(&self, event_type: EventType) -> usize

Parameters

ParamField EventType

No description available.

Returns

ResponseField usize

The result of the operation.