Skip to main content

probe

AsyncMethod
This is a method of the BasePlatformAdapter class in the base module.
Check connectivity/credentials without processing messages. Default: ok while the default :meth:start is running; otherwise a :meth:connect / :meth:disconnect round-trip.

Signature

Returns

ProbeResult
The result of the operation.

Uses

  • ProbeResult
  • time.monotonic
  • connect
  • contextlib.suppress
  • disconnect

Source

View on GitHub

praisonaiagents/bots/base.py at line 624