Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

chore: Update Readme to include isReady interface#368

Merged
gaofanmichael merged 3 commits intogoogleapis:masterfrom
gaofanmichael:readme
Dec 1, 2017
Merged

chore: Update Readme to include isReady interface#368
gaofanmichael merged 3 commits intogoogleapis:masterfrom
gaofanmichael:readme

Conversation

@gaofanmichael
Copy link
Copy Markdown
Contributor

No description provided.

@gaofanmichael gaofanmichael requested a review from a team November 29, 2017 19:23
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 29, 2017
README.md Outdated
require('@google-cloud/debug-agent').start({ ... });
```

The stackdriver Debugger also introduces a new `isReady` method that returns a `Promise` that is resolved in either of the three scenarios.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


This is needed in environments such as Google Cloud Functions where, without this functionality, application code is completed before the debug agent has received its snapshot information.

```js

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@gaofanmichael gaofanmichael merged commit 1d300ac into googleapis:master Dec 1, 2017
@gaofanmichael gaofanmichael deleted the readme branch December 1, 2017 23:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants