()
| 18 | |
| 19 | // mark the resource as "allocated" |
| 20 | allocate() { |
| 21 | this.lastBorrowTime = Date.now(); |
| 22 | this.state = PooledResourceStateEnum.ALLOCATED; |
| 23 | } |
| 24 | |
| 25 | // mark the resource as "deallocated" |
| 26 | deallocate() { |
no outgoing calls
no test coverage detected