Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Conversation

@juliangruber
Copy link
Member

No description provided.

Copy link
Member

@bajtos bajtos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

README.md Outdated
Returns `Promise<MetricsEvent>`.

### `Core#metrics.follow(module?: String, { signal?: AbortSignal })`
### `Core#metrics.follow({ module?: String, signal?: AbortSignal })`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to omit both property args and call follow with no arguments at all?

core.metrics.follow()

Maybe we can signal that option by adding ? after the object.

### `Core#metrics.follow({ module?: String, signal?: AbortSignal }?)`

Or perhaps:

### `Core#metrics.follow({ module?: String, signal?: AbortSignal } = {})`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it's possible. I had the = {} before, but it got too verbose for my taste. Will try again

@juliangruber juliangruber merged commit 91be748 into main May 4, 2023
@juliangruber juliangruber deleted the update/metrics-follow-api branch May 4, 2023 08:55
@juliangruber
Copy link
Member Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants