Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observable ¶
type ObservableImpl ¶
type ObservableImpl struct { // Observers is a list of all Observers that are currently connected // for now these are just the GRPC stream corresponding to the AddObserver call Observers []Observer // contains filtered or unexported fields }
ObservableImpl provides a base implementation of the Observable interface it should be embedded in all tailpipe plugin, collection and source implementations (via collection.RowSourceImpl, source.RowSourceImpl and plugin.RowSourceImpl)
func (*ObservableImpl) AddObserver ¶
func (p *ObservableImpl) AddObserver(o Observer) error
func (*ObservableImpl) NotifyError ¶
func (p *ObservableImpl) NotifyError(ctx context.Context, executionId string, err error)
func (*ObservableImpl) NotifyObservers ¶
Click to show internal directories.
Click to hide internal directories.