Skip to content

Conversation

tconley1428
Copy link

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

*/
static lazy(options?: ConnectionOptions): Connection {
options = options || {};
for (const plugin of options.plugins || []) {
Copy link
Author

Choose a reason for hiding this comment

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

?? instead.

}
}

export interface Plugin {
Copy link
Author

Choose a reason for hiding this comment

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

Just give the full name here.


let connectNative = async () => await runtime.createNativeClient(options)
for (const plugin of options.plugins || []) {
const cn = connectNative
Copy link
Author

Choose a reason for hiding this comment

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

;

*/
async run(): Promise<void> {
let nextFunction = (w: Worker) => w.runInternal();
for (const plugin of this.plugins) {
Copy link
Author

Choose a reason for hiding this comment

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

reverse list

return new this(runtime, client, enableTestService);

let connectNative = async () => await runtime.createNativeClient(options)
for (const plugin of options.plugins || []) {
Copy link
Author

Choose a reason for hiding this comment

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

Reverse list

Copy link
Author

Choose a reason for hiding this comment

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

Use composeInterceptors instead?

*/
configureReplayWorker(config: ReplayWorkerOptions): ReplayWorkerOptions;

runWorker(worker: Worker, next: (w: Worker) => Promise<void>): Promise<void>;
Copy link
Author

Choose a reason for hiding this comment

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

Document that it won't happen on replay worker

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant