import bigInt from "big-integer" ; export class RequestState { public containerId : undefined ; public msgId ? : bigInt . BigInteger ; public request : any ; public data : Buffer ; public after : any ; public result : undefined ; promise : Promise < unknown > ; public resolve : ( value ? : any ) => void ; public reject : ( reason ? : any ) => void ; constructor ( request , after = undefined ) { this . containerId = undefined ; this . msgId = undefined ; this . request = request ; this . data = request . getBytes ( ) ; this . after = after ; this . result = undefined ; this . promise = new Promise ( ( resolve , reject ) => { this . resolve = resolve ; this . reject = reject ; } ) ; } }