loadClient function

ClientLoader loadClient(
  1. Future<void> loader(),
  2. ClientBuilder builder
)

Implementation

ClientLoader loadClient(Future<void> Function() loader, ClientBuilder builder) {
  return () => loader().then((_) => builder);
}