Home Reference Source
public class | source

SemaphoreProcessing

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
Private Members
private

_list: *[]

Method Summary

Public Methods
public

processSempahoreCallback(callback: *): Promise<void>

Multiple Forks and Mining are asynchronously, and they can happen in the same time, changing the this.blocks

Private Methods
private

Public Constructors

public constructor() source

Public Members

public processing: boolean source

public processingSemaphoreInterval: * source

Private Members

private _list: *[] source

Public Methods

public processSempahoreCallback(callback: *): Promise<void> source

Multiple Forks and Mining are asynchronously, and they can happen in the same time, changing the this.blocks

Params:

NameTypeAttributeDescription
callback *

Return:

Promise<void>

Private Methods

private async _processingSemaphoreList() source