Function gdnative_async::register_runtime
source · pub fn register_runtime(handle: &InitHandle)
Expand description
Adds required supporting NativeScript classes to handle
. This must be called once and
only once per initialization.
This registers the internal types under an unspecified prefix, with the intention to avoid
collision with user types. Users may provide a custom prefix using
[register_runtime_with_prefix
], should it be necessary to name these types.