github.com/MetalBlockchain/metalgo@v1.11.9/pubsub/filterer.go (about)

     1  // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package pubsub
     5  
     6  type Filterer interface {
     7  	Filter(connections []Filter) ([]bool, interface{})
     8  }