wormhole-explorer/parser/processor/types.go

11 lines
246 B
Go

package processor
import (
"context"
"github.com/wormhole-foundation/wormhole-explorer/parser/parser"
)
// ProcessorFunc is a function to process vaa message.
type ProcessorFunc func(context.Context, []byte) (*parser.ParsedVaaUpdate, error)