Home > @rushstack/credential-cache > CredentialCache > usingAsync
CredentialCache.usingAsync() method
Signature:
static usingAsync(options: ICredentialCacheOptions, doActionAsync: (credentialCache: CredentialCache) => Promise<void> | void): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
options | ||
doActionAsync | (credentialCache: CredentialCache) => Promise<void> | void |
Returns:
Promise<void>