shimmer/types/hello_event
Types
pub type HelloEvent {
HelloEvent(heartbeat_interval: Int)
}
Constructors
-
HelloEvent(heartbeat_interval: Int)
Functions
pub fn from_dynamic(data: Dynamic) -> Result(
HelloEvent,
ShimmerError,
)
pub fn from_json_string(encoded: String) -> Result(
HelloEvent,
ShimmerError,
)