Skip to content

Commit

Permalink
0.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed May 19, 2024
1 parent 8ae9d93 commit 2172e8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
11 changes: 0 additions & 11 deletions be-fetching.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ export class BeFetching extends BE {
interpolateIfValid: {
ifAllOf: ['eventCount', 'interpolating']
},
// onUrl:{
// ifAllOf: ['url'],
// },
fetchWhenSettled: {
ifAllOf: ['url'],
ifEquals: ['url', 'urlEcho']
Expand Down Expand Up @@ -87,14 +84,6 @@ export class BeFetching extends BE {
url: enhancedElement[urlProp],
};
}
//#prevTimeout: string | number | NodeJS.Timeout | undefined;
// async onUrl(self: this){
// const {url, debounceDuration} = self;
// if(this.#prevTimeout !== undefined) clearTimeout(this.#prevTimeout);
// this.#prevTimeout = setTimeout(() => {
// self.urlEcho = url;
// }, debounceDuration);
// }
#fetchController;
async fetchWhenSettled(self) {
const { url, options, enhancedElement } = self;
Expand Down
12 changes: 1 addition & 11 deletions be-fetching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ export class BeFetching extends BE implements Actions{
interpolateIfValid: {
ifAllOf: ['eventCount', 'interpolating']
},
// onUrl:{
// ifAllOf: ['url'],
// },
fetchWhenSettled: {
ifAllOf: ['url'],
ifEquals: ['url', 'urlEcho']
Expand Down Expand Up @@ -93,14 +90,7 @@ export class BeFetching extends BE implements Actions{
} as PAP;
}

//#prevTimeout: string | number | NodeJS.Timeout | undefined;
// async onUrl(self: this){
// const {url, debounceDuration} = self;
// if(this.#prevTimeout !== undefined) clearTimeout(this.#prevTimeout);
// this.#prevTimeout = setTimeout(() => {
// self.urlEcho = url;
// }, debounceDuration);
// }


#fetchController: AbortController | undefined;
async fetchWhenSettled(self: this){
Expand Down

0 comments on commit 2172e8a

Please sign in to comment.