Skip to content

Commit

Permalink
[FLINK-7547] Make AsyncFunction.scala extends Function
Browse files Browse the repository at this point in the history
Before, the Scala AsyncFunction was not Serializable. Function is
derived from Serializable.
  • Loading branch information
yew1eb authored and aljoscha committed Sep 28, 2017
1 parent 9d7bc7b commit 09df80f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package org.apache.flink.streaming.api.scala.async

import org.apache.flink.annotation.PublicEvolving
import org.apache.flink.api.common.functions.Function

/**
* A function to trigger async I/O operations.
Expand All @@ -36,7 +37,7 @@ import org.apache.flink.annotation.PublicEvolving
* @tparam OUT The type of the output elements
*/
@PublicEvolving
trait AsyncFunction[IN, OUT] {
trait AsyncFunction[IN, OUT] extends Function {

/**
* Trigger the async operation for each stream input
Expand Down

0 comments on commit 09df80f

Please sign in to comment.