- All Superinterfaces:
Supplier<CompletableFuture<String>>
An interface to represent a supplier that returns a code wrapped in a CompletableFuture
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionCreates an asynchronous supplier from a synchronous one
-
Method Details
-
of
Creates an asynchronous supplier from a synchronous one- Parameters:
supplier- a non-null supplier- Returns:
- a non-null async supplier
-