Skip to main content

Dagger NodeJS SDK

Interfaces

Type Aliases

CallbackFct

CallbackFct: (client: default) => Promise<void>

Type declaration

(client): Promise<void>

Parameters
NameType
clientdefault
Returns

Promise<void>

Functions

connect

connect(cb, config?): Promise<void>

connect runs GraphQL server and initializes a GraphQL client to execute query on it through its callback. This implementation is based on the existing Go SDK.

Parameters

NameType
cbCallbackFct
configConnectOpts

Returns

Promise<void>