Callback Count • Rust AI Agent SDK

callback_count: Get the number of registered callbacks for a display type

callback_count

Function

</div>

This function is defined in the display module.

Get the number of registered callbacks for a display type

Signature

python
def callback_count(display_type: DisplayType) -> usize

Parameters

ParamField DisplayType

No description available.

Returns

ResponseField usize

The result of the operation.

Uses

  • read
  • get
  • unwrap_or

Source

View on GitHub

praisonai/src/display.rs at line 575