ObstructionPoller.poller

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

poller(prev_state)

Calls ElevatorOperator.obstruction/1 with the current obstruction switch state if the state changes.

Parameters

  • prev_state: State of the obstruction switch sensor. Can be :inactive or :active :: atom()

Return

  • no_return