[][src]Function gwasm_api::golem::create_task

pub fn create_task(
    datadir: &Path,
    address: &str,
    port: u16,
    net: Net,
    task: Task
) -> impl Future<Item = (impl Clone + Send + RpcEndpoint, String), Error = Error> + 'static

A convenience function for creating a gWasm Task on Golem

This function returns to necessary components to track the Task on Golem Network:

  1. an object implementing RpcEndpoint trait, 2) created Task's ID as String.