Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsCompleted (0.1 sec)

  1. test/typeparam/issue50561.dir/diameter.go

    	Future() Future[T]
    	Success(value T) bool
    	Failure(err error) bool
    	IsCompleted() bool
    	Complete(result Try[T]) bool
    }
    
    type Future[T any] interface {
    	OnFailure(cb func(err error), ctx ...Executor)
    	OnSuccess(cb func(success T), ctx ...Executor)
    	Foreach(f func(v T), ctx ...Executor)
    	OnComplete(cb func(try Try[T]), ctx ...Executor)
    	IsCompleted() bool
    	//	Value() Option[Try[T]]
    	Failed() Future[error]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 22:58:24 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top