TestResource

TestResource

Class for testing resource handling for jobs

Constructor

new TestResource()

Source:

Methods

checkActive() → {Promise}

Source:

Check if resource is used

Returns:

promise

Type
Promise

checkActive() → {Promise}

Source:

Check if resource is used

Returns:

promise

Type
Promise

close() → {Promise}

Source:

Close resource

Returns:

promise

Type
Promise

close() → {Promise}

Source:

Close resource

Returns:

promise

Type
Promise

kill() → {Promise}

Source:

Kill resource

Returns:

promise

Type
Promise

open() → {Promise}

Source:

Open resource

Returns:

promise

Type
Promise

open() → {Promise}

Source:

Open resource

Returns:

promise

Type
Promise

start()

Source:

Start using resource

TestResource

Class for testing resource handling for jobs

Constructor

new TestResource()

Source:

Methods

checkActive() → {Promise}

Source:

Check if resource is used

Returns:

promise

Type
Promise

checkActive() → {Promise}

Source:

Check if resource is used

Returns:

promise

Type
Promise

close() → {Promise}

Source:

Close resource

Returns:

promise

Type
Promise

close() → {Promise}

Source:

Close resource

Returns:

promise

Type
Promise

kill() → {Promise}

Source:

Kill resource

Returns:

promise

Type
Promise

open() → {Promise}

Source:

Open resource

Returns:

promise

Type
Promise

open() → {Promise}

Source:

Open resource

Returns:

promise

Type
Promise

start()

Source:

Start using resource