Skip to content

Commit

Permalink
Pool without Client instances instead of Client Promises in internal …
Browse files Browse the repository at this point in the history
…ready/active collections
  • Loading branch information
bsrdjan committed Apr 17, 2020
1 parent 9833196 commit a6ec7ef
Show file tree
Hide file tree
Showing 17 changed files with 303 additions and 364 deletions.
8 changes: 4 additions & 4 deletions lib/wrapper/sapnwrfc-client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/wrapper/sapnwrfc-client.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/wrapper/sapnwrfc-pool.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ export declare class Pool {
private __clientOptions;
private __clients;
constructor(connectionParams: RfcConnectionParameters, poolOptions?: RfcPoolOptions, clientOptions?: RfcClientOptions);
newClient(): Client;
fill(): void;
acquire(): Promise<Client>;
release(client: Client): Promise<void>;
releaseAll(): Promise<void>;
releaseAll(): Promise<number>;
get status(): object;
}
98 changes: 73 additions & 25 deletions lib/wrapper/sapnwrfc-pool.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a6ec7ef

Please sign in to comment.