Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventProcessor ¶
type EventProcessor struct {
// contains filtered or unexported fields
}
EventProcessor processes new events detected by an event feed.
func New ¶
func New( parser parsing.SQLValidator, executor executor.Executor, ef eventfeed.EventFeed, chainID tableland.ChainID, opts ...eventprocessor.Option, ) (*EventProcessor, error)
New returns a new EventProcessor.
func (*EventProcessor) GetLastExecutedBlockNumber ¶
func (ep *EventProcessor) GetLastExecutedBlockNumber() int64
GetLastExecutedBlockNumber returns the last executed block number.
func (*EventProcessor) Start ¶
func (ep *EventProcessor) Start() error
Start starts processing new events from the last processed height.
Click to show internal directories.
Click to hide internal directories.