fun <R> setOnEndAnimationCallback(action: (AnimationData) -> R): AnimationSender
Specify an action to perform when an animation ending message is received from the server. Runs after onReceive callback.
R - The return type of your function
Return
this