syncProviderAsync

fun syncProviderAsync(): CompletableFuture<ProviderSyncResult?>

Syncs the external live update provider source if present, returning a CompletableFuture instead of suspending. This is the Java-friendly counterpart to syncProvider.

Example usage (java):

portal.syncProviderAsync().thenAccept(result -> {
// handle result
}).exceptionally(error -> {
// handle error (including LiveUpdateNotConfigured)
return null;
});

Kotlin callers should prefer syncProvider directly; use this only if you specifically need a CompletableFuture, e.g. for interop with existing Future-based code.

Return

a CompletableFuture completed with the result of the synchronization operation, or completed exceptionally if the sync fails.