summaryrefslogblamecommitdiff
path: root/internal/events/contract.go
blob: 5bea6ac9f7a2149001b4fcd5ec58ecb1e3adfb60 (plain) (tree)
1
2
3
4
5
6
7
8
9

              
                                             

                           
                                                                     


                                             
                                                      
 
package events

import "go.neonxp.dev/djson/internal/command"

type Dispatcher interface {
	Subscribe(path []string, id string, ch chan command.Mutation)

	Unsubscribe(path []string, id string)

	Notify(path []string, event *command.Mutation)
}