mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-27 03:58:06 +00:00
16 lines
241 B
Go
16 lines
241 B
Go
|
package notify
|
||
|
|
||
|
import "github.com/nspcc-dev/neo-go/pkg/interop/runtime"
|
||
|
|
||
|
// Value is the constant we use.
|
||
|
const Value = 42
|
||
|
|
||
|
// EmitEvent emits some event.
|
||
|
func EmitEvent() {
|
||
|
emitPrivate()
|
||
|
}
|
||
|
|
||
|
func emitPrivate() {
|
||
|
runtime.Notify("Event")
|
||
|
}
|