Skip to main content

should_arm

Method
This is a method of the GatewayIdlePolicyProtocol class in the protocols module.
Return whether dormancy may be armed at all. Implementations gate on whether transports can be cleanly stood down and a wake path exists, so a gateway never quiesces into a state it cannot resume from.

Signature

Returns

bool
The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2931