act

Close the connection to the remote BeeCluster server.

handler = session.act(
action_name,
*argv
)

Parameters

NameDescription
action_nameThe name of the action to perform on drones.
*argvArguments of the action.

Return

Return an Action object as the action handler.

Remark

This function call is non-blocking. Blocking happens when the execution result of the action is retrieved from the action handler or calling wait() on the action handler explicitly.

  • handler.val Retrieve the execution result of an action from its handler (blocking)
  • handler.wait() Wait until the action is completed (blocking)