mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-01 23:45:50 +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")
|
||
|
}
|