diff --git a/src/org/redkale/util/AsyncHandler.java b/src/org/redkale/util/AsyncHandler.java new file mode 100644 index 000000000..03c2483c1 --- /dev/null +++ b/src/org/redkale/util/AsyncHandler.java @@ -0,0 +1,97 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package org.redkale.util; + +import java.util.function.BiConsumer; +import java.nio.channels.CompletionHandler; +import java.util.function.*; + +/** + * 异步回调函数 + * + * + *
+ * 详情见: https://redkale.org
+ *
+ * @deprecated 使用 java.nio.channels.CompletionHandler 代替
+ * @author zhangjx
+ * @param