Home Reference Source
public class | source

ProcessWorkerGPU

Extends:

ProcessWorker → ProcessWorkerGPU

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

gpuID: *

public
public

suffix: *

Method Summary

Private Methods
private

Inherited Summary

From class ProcessWorker
public get
public
public

emitter: *

public

id: *

public
public

suffix: *

private

_child: *

private

_count: *

private

_data: *

private

_end: *

private
private
private
private
private
private
private
private
private
private
public

kill(param: *): *

public

on(a: *, b: *): *

public

once(a: *, b: *): *

public
public

async send(length: *, block: *, difficulty: *, start: *, end: *, batch: *)

public

async start(path: *, filename: *): boolean

private

async _deleteFile(prefix: string)

private

_emit(a: *, b: *): *

private
private

async _validateWork()

private

async _writeWork(data: *)

Public Constructors

public constructor() source

Override:

ProcessWorker#constructor

Public Members

public gpuID: * source

public gpuInstance: * source

public suffix: * source

Override:

ProcessWorker#suffix

Private Methods

private _getProcessParams(): * source

Override:

ProcessWorker#_getProcessParams

Return:

*