useAsyncLazyLocalInstance<T extends BaseKoreInstance> method

Future<T> useAsyncLazyLocalInstance<T extends BaseKoreInstance>({
  1. int index = 0,
})

Returns connected instance

index - index of instance if multiple are connected

Implementation

Future<T> useAsyncLazyLocalInstance<T extends BaseKoreInstance>(
    {int index = 0}) {
  return useAsyncLazyInstanceDelegate<T>(index: index);
}