Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotifyResult ¶
func NewNotifyResult(success bool, err error, data interface{}) basic.NotifyResult
Types ¶
type Notify ¶
Notify is an implementation of basic.Notify.
func (*Notify) Finish ¶
func (notify *Notify) Finish(result basic.NotifyResult) error
Finish sets result and close done channel to notify work done.
func (*Notify) Result ¶
func (notify *Notify) Result() basic.NotifyResult
Result returns the NotifyResult and only valid after Done channel is closed.
Click to show internal directories.
Click to hide internal directories.