Closed 1468ca0b-2a64-4fb4-8e52-ea5806644b4c closed 6 years ago
Created by: andriytk
setPhaseIfConsume handle guard phase = setPhase handle $
\msg@(HAEvent eid _) -> do
todo eid
...
Created by: andriytk
Just look inside this function.
Created by: vvv
setPhaseIfConsume
automatically takes the reference for eid
@andriytk Would you show me how it does that?
Created by: andriytk
setPhaseIfConsume automatically takes the reference for eid, so there is no need to take it again at start_rule phase.