* This is a React port of https://github.com/quantumsoftgroup/healthcare-api-adapter - It still needs some UI cleanup.
14 lines
183 B
JavaScript
14 lines
183 B
JavaScript
export default class CancellationToken {
|
|
constructor() {
|
|
this.cancelled = false;
|
|
}
|
|
|
|
get() {
|
|
return this.cancelled;
|
|
}
|
|
|
|
set(value) {
|
|
this.cancelled = value;
|
|
}
|
|
}
|