One might pass State to Md.parse/2 as a second parameter. Starting with v0.7.0 it has payload key.
All the listener functions can return a tuple {:update, new_state} to update the state.
One might pass State to Md.parse/2 as a second parameter. Starting with v0.7.0 it has payload key.
All the listener functions can return a tuple {:update, new_state} to update the state.