Previous Up Next

REALcbState
Define a callback on 'state changed' warnings

RealStream REALcbState (
RealStream _real_
fun [RealStream u0 RealState] u1 _callback_
u0 _user_
)
Parameters

_real_
real connection
_callback_
function to evaluate each time the state of the connection changes. The RealState argument precises the new state.
_user_
user parameter
Return value

same real connection