Promox.State.expect

You're seeing just the function expect, go back to Promox.State module for more information.
Link to this function

expect(state, protocol, callback, n \\ 1, fun)