OrderButtonPoller.poller

You're seeing just the function poller, go back to OrderButtonPoller module for more information.
Link to this function

poller(floor, button_type, prev_state)

Retrieves the state of an order button. Uses OrderAssigner.assign_order/1 to signals assignment of the order if the button is pressed.

Parameters

  • floor: Floor of the order button :: integer()
  • button_type: Button type of the order button. Can be :cab, :hall_up or :hall_down :: atom()
  • prev_state: State of the order button. Can be 0 or 1 :: boolean()

Return

  • no_return