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