golem-cli 1.3.1

Command line interface for Golem.
1
2
3
4
5
6
/// Tries to load a user-defined snapshot, setting up the worker's state based on it.
/// The function can return with a failure to indicate that the update is not possible.
pub fn load(bytes : FixedArray[Byte]) -> Result[Unit, String] {
      @loadSnapshot.load(bytes)
}