OnSuccess<T> typedef

OnSuccess<T> = void Function(T data)

成功回调

Implementation

typedef void OnSuccess<T>(T data);