github.com/TIBCOSoftware/flogo-lib@v0.5.9/core/activity/async.go (about)

     1  package activity
     2  
     3  // AsyncActivity is an interface for defining a custom Task that supports asynchronous callback
     4  type AsyncActivity interface {
     5  	Activity
     6  
     7  	// PostEval is called when a activity that didn't complete during the Eval
     8  	// needs to be notified.  Returning true indicates that the activity is done.
     9  	PostEval(context Context, userData interface{}) (done bool, err error)
    10  }