Skip to content

createTurboClient

createTurboClient(opts): object

Defined in: clients/turbo-client/dist/index.d.mts:43

Creates a client for Turborepo’s Remote Cache (served by Vercel) with cache and token groups, sharing one REST client.

TurboClientOptions

object

cache: object

status: (team) => Promise<TurboCacheStatus>

string

Promise<TurboCacheStatus>

token: object

current: () => Promise<TurboTokenResponse>

Promise<TurboTokenResponse>