Dagger NodeJS SDK
Interfaces​
Type Aliases​
CallbackFct​
CallbackFct: (client
: default
) => Promise
<void
>
Type declaration​
(client
): Promise
<void
>
Parameters​
Name | Type |
---|---|
client | default |
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​
Name | Type |
---|---|
cb | CallbackFct |
config | ConnectOpts |
Returns​
Promise
<void
>