initializeRust function

Future<void> initializeRust(
  1. AssignRustSignal assignRustSignal, {
  2. String? compiledLibPath,
})

Starts the main function in Rust.

Implementation

Future<void> initializeRust(
  AssignRustSignal assignRustSignal, {
  String? compiledLibPath,
}) async {
  if (compiledLibPath != null) {
    setCompiledLibPathReal(compiledLibPath);
  }
  await prepareInterfaceReal(assignRustSignal);
  startRustLogicReal();
}