SYMBOL INDEX (94 symbols across 5 files) FILE: future.go type callbackType (line 23) | type callbackType constant CALLBACK_DONE (line 26) | CALLBACK_DONE callbackType = iota constant CALLBACK_FAIL (line 27) | CALLBACK_FAIL constant CALLBACK_ALWAYS (line 28) | CALLBACK_ALWAYS constant CALLBACK_CANCEL (line 29) | CALLBACK_CANCEL type pipe (line 33) | type pipe struct method getPipe (line 39) | func (this *pipe) getPipe(isResolved bool) (func(v interface{}) *Futur... type Canceller (line 50) | type Canceller interface type canceller (line 57) | type canceller struct method Cancel (line 62) | func (this *canceller) Cancel() { method IsCancelled (line 67) | func (this *canceller) IsCancelled() (r bool) { type futureVal (line 72) | type futureVal struct type Future (line 81) | type Future struct method Canceller (line 91) | func (this *Future) Canceller() Canceller { method IsCancelled (line 96) | func (this *Future) IsCancelled() bool { method SetTimeout (line 108) | func (this *Future) SetTimeout(mm int) *Future { method GetChan (line 123) | func (this *Future) GetChan() <-chan *PromiseResult { method Get (line 137) | func (this *Future) Get() (val interface{}, err error) { method GetOrTimeout (line 145) | func (this *Future) GetOrTimeout(mm uint) (val interface{}, err error,... method Cancel (line 164) | func (this *Future) Cancel() (e error) { method OnSuccess (line 171) | func (this *Future) OnSuccess(callback func(v interface{})) *Future { method OnFailure (line 179) | func (this *Future) OnFailure(callback func(v interface{})) *Future { method OnComplete (line 189) | func (this *Future) OnComplete(callback func(v interface{})) *Future { method OnCancel (line 196) | func (this *Future) OnCancel(callback func()) *Future { method Pipe (line 204) | func (this *Future) Pipe(callbacks ...interface{}) (result *Future, ok... method loadResult (line 288) | func (this *Future) loadResult() *PromiseResult { method loadVal (line 294) | func (this *Future) loadVal() *futureVal { method setResult (line 300) | func (this *Future) setResult(r *PromiseResult) (e error) { //r *Promi... method addCallback (line 349) | func (this *Future) addCallback(callback interface{}, t callbackType) { FILE: future_factory.go type anyPromiseResult (line 7) | type anyPromiseResult struct function Start (line 32) | func Start(act interface{}, syncs ...bool) *Future { function Wrap (line 72) | func Wrap(value interface{}) *Future { function WhenAny (line 87) | func WhenAny(acts ...interface{}) *Future { function WhenAnyMatched (line 96) | func WhenAnyMatched(predicate func(interface{}) bool, acts ...interface{... function WhenAll (line 207) | func WhenAll(acts ...interface{}) (fu *Future) { function whenAllFuture (line 229) | func whenAllFuture(fs ...*Future) *Future { FILE: future_test.go constant TASK_END (line 14) | TASK_END = "task be end," constant CALL_DONE (line 15) | CALL_DONE = "callback done," constant CALL_FAIL (line 16) | CALL_FAIL = "callback fail," constant CALL_ALWAYS (line 17) | CALL_ALWAYS = "callback always," constant WAIT_TASK (line 18) | WAIT_TASK = "wait task end," constant GET (line 19) | GET = "get task result," constant DONE_Pipe_END (line 20) | DONE_Pipe_END = "task Pipe done be end," constant FAIL_Pipe_END (line 21) | FAIL_Pipe_END = "task Pipe fail be end," type myError (line 25) | type myError struct method Error (line 29) | func (e *myError) Error() string { function newMyError (line 33) | func newMyError(v interface{}) *myError { function TestResolveAndReject (line 37) | func TestResolveAndReject(t *testing.T) { function TestCancel (line 65) | func TestCancel(t *testing.T) { function TestGetOrTimeout (line 82) | func TestGetOrTimeout(t *testing.T) { function TestGetChan (line 135) | func TestGetChan(t *testing.T) { function TestFuture (line 189) | func TestFuture(t *testing.T) { function TestCallbacks (line 237) | func TestCallbacks(t *testing.T) { function TestStart (line 412) | func TestStart(t *testing.T) { function TestPipe (line 525) | func TestPipe(t *testing.T) { function TestWhenAny (line 594) | func TestWhenAny(t *testing.T) { function TestWhenAnyTrue (line 702) | func TestWhenAnyTrue(t *testing.T) { function TestWhenAll (line 799) | func TestWhenAll(t *testing.T) { function TestWrap (line 875) | func TestWrap(t *testing.T) { function shouldSlicesReSame (line 883) | func shouldSlicesReSame(actual interface{}, expected ...interface{}) str... FILE: promise.go type CancelledError (line 13) | type CancelledError struct method Error (line 16) | func (e *CancelledError) Error() string { type resultType (line 21) | type resultType constant RESULT_SUCCESS (line 24) | RESULT_SUCCESS resultType = iota constant RESULT_FAILURE (line 25) | RESULT_FAILURE constant RESULT_CANCELLED (line 26) | RESULT_CANCELLED type PromiseResult (line 33) | type PromiseResult struct type Promise (line 43) | type Promise struct method Cancel (line 50) | func (this *Promise) Cancel() (e error) { method Resolve (line 56) | func (this *Promise) Resolve(v interface{}) (e error) { method Reject (line 62) | func (this *Promise) Reject(err error) (e error) { method OnSuccess (line 69) | func (this *Promise) OnSuccess(callback func(v interface{})) *Promise { method OnFailure (line 77) | func (this *Promise) OnFailure(callback func(v interface{})) *Promise { method OnComplete (line 87) | func (this *Promise) OnComplete(callback func(v interface{})) *Promise { method OnCancel (line 94) | func (this *Promise) OnCancel(callback func()) *Promise { function NewPromise (line 100) | func NewPromise() *Promise { FILE: utils.go type NoMatchedError (line 12) | type NoMatchedError struct method Error (line 16) | func (e *NoMatchedError) Error() string { method HasError (line 20) | func (e *NoMatchedError) HasError() bool { function newNoMatchedError (line 29) | func newNoMatchedError(results []interface{}) *NoMatchedError { function newNoMatchedError1 (line 33) | func newNoMatchedError1(e interface{}) *NoMatchedError { type AggregateError (line 38) | type AggregateError struct method Error (line 43) | func (e *AggregateError) Error() string { function newAggregateError (line 64) | func newAggregateError(s string, innerErrors []error) *AggregateError { function newAggregateError1 (line 68) | func newAggregateError1(s string, e interface{}) *AggregateError { function newErrorWithStacks (line 72) | func newErrorWithStacks(i interface{}) (e error) { function getAct (line 89) | func getAct(pr *Promise, act interface{}) (f func() (r interface{}, err ... function startPipe (line 149) | func startPipe(r *PromiseResult, pipeTask func(v interface{}) *Future, p... function getFutureReturnVal (line 162) | func getFutureReturnVal(r *PromiseResult) (interface{}, error) { function execCallback (line 173) | func execCallback(r *PromiseResult, function forSlice (line 210) | func forSlice(s []func(v interface{}), f func(func(v interface{}))) { type stringer (line 225) | type stringer interface function getError (line 229) | func getError(i interface{}) (e error) { function writeStrings (line 247) | func writeStrings(buf *bytes.Buffer, strings []string) {