pub async fn init(opts: CoreInitOptions) -> Result<impl Core, CoreInitError>
Expand description
Initializes an instance of the core sdk and establishes a connection to the temporal server.
Note: Also creates a tokio runtime that will be used for all client-server interactions.
ยงPanics
- Will panic if called from within an async context, as it will construct a runtime and you cannot construct a runtime from within a runtime.