github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/compiler/testdata/notify/event.go (about)

     1  package notify
     2  
     3  import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
     4  
     5  // Value is the constant we use.
     6  const Value = 42
     7  
     8  // EmitEvent emits some event.
     9  func EmitEvent() {
    10  	emitPrivate()
    11  }
    12  
    13  func emitPrivate() {
    14  	runtime.Notify("Event")
    15  }