public class AsyncRateLimitExecutor extends Object
| Modifier and Type | Method and Description |
|---|---|
<T extends SlackApiResponse> |
execute(String methodName,
Map<String,String> params,
AsyncExecutionSupplier<T> methodsSupplier) |
static AsyncRateLimitExecutor |
get(String executorName) |
static AsyncRateLimitExecutor |
getOrCreate(MethodsClientImpl client,
SlackConfig config) |
public static AsyncRateLimitExecutor get(String executorName)
public static AsyncRateLimitExecutor getOrCreate(MethodsClientImpl client, SlackConfig config)
public <T extends SlackApiResponse> CompletableFuture<T> execute(String methodName, Map<String,String> params, AsyncExecutionSupplier<T> methodsSupplier)
Copyright © 2020. All rights reserved.