type Env …
var nextAwaiterRegistration …
type Awaiter …
func NewAwaiter(workdir *fake.Workdir) *Awaiter { … }
func (a *Awaiter) Hooks() fake.ClientHooks { … }
type State …
type workProgress …
func (s State) String() string { … }
type condition …
func (a *Awaiter) onDiagnostics(_ context.Context, d *protocol.PublishDiagnosticsParams) error { … }
func (a *Awaiter) onShowDocument(_ context.Context, params *protocol.ShowDocumentParams) error { … }
func (a *Awaiter) ListenToShownDocuments() func() []*protocol.ShowDocumentParams { … }
func (a *Awaiter) onShowMessage(_ context.Context, params *protocol.ShowMessageParams) error { … }
func (a *Awaiter) ListenToShownMessages() func() []*protocol.ShowMessageParams { … }
func (a *Awaiter) onShowMessageRequest(_ context.Context, m *protocol.ShowMessageRequestParams) error { … }
func (a *Awaiter) onLogMessage(_ context.Context, m *protocol.LogMessageParams) error { … }
func (a *Awaiter) onWorkDoneProgressCreate(_ context.Context, m *protocol.WorkDoneProgressCreateParams) error { … }
func (a *Awaiter) onProgress(_ context.Context, m *protocol.ProgressParams) error { … }
func (a *Awaiter) onRegisterCapability(_ context.Context, m *protocol.RegistrationParams) error { … }
func (a *Awaiter) onUnregisterCapability(_ context.Context, m *protocol.UnregistrationParams) error { … }
func (a *Awaiter) checkConditionsLocked() { … }
func checkExpectations(s State, expectations []Expectation) (Verdict, string) { … }
func (e *Env) Await(expectations ...Expectation) { … }
func (e *Env) OnceMet(precondition Expectation, mustMeets ...Expectation) { … }
func (a *Awaiter) Await(ctx context.Context, expectations ...Expectation) error { … }