2021-09-08 20:55:37 +00:00
|
|
|
import json
|
2021-09-08 18:05:39 +00:00
|
|
|
import json_serialization
|
|
|
|
import signal_type
|
2021-09-08 20:55:37 +00:00
|
|
|
import ../status
|
|
|
|
import ../types/rpc_response
|
2021-09-08 18:05:39 +00:00
|
|
|
|
|
|
|
import ../../eventemitter
|
|
|
|
|
|
|
|
export signal_type
|
|
|
|
|
|
|
|
type Signal* = ref object of Args
|
|
|
|
signalType* {.serializedFieldName("type").}: SignalType
|
2021-09-08 20:55:37 +00:00
|
|
|
signalTypeStr*: string
|
2021-09-08 18:05:39 +00:00
|
|
|
|
|
|
|
type NodeSignal* = ref object of Signal
|
2021-09-08 20:55:37 +00:00
|
|
|
event*: StatusGoError
|