Async Client
Creates a new async client with the given delegate and the given executor.
It is a responsibility of the user to shut down the executor gracefully.
Parameters
delegate
the firebase client which performs the requests
executor
the Executor which executes the write requests
Creates a new async client with the given delegate.
The resulting client uses the commonPool to execute the write operations. Note that this is the same Executor
which is used by default in the Java concurrency API, such as java.util.concurrent.CompletableFuture and the conventional implementations of java.util.stream.Stream.
Parameters
delegate
the firebase client which performs the requests