While reviewing code last night I found this code. Of note, state is captured via the lambda which executes the call-back action.
state
public static v