AbstractThe addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsAbstractconvertIf this session was created with specific providers, convert one of them
into the format required or return undefined if the provider is not
compatible with this session implementation
Optionaloptions: AbortOptionsThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
AbstractemitInvoke the progress handler with the session-specific found provider event
AbstractequalsAbstractfindThis method should search for new providers and yield them.
AbstractqueryThe subclass should contact the provider and request the block from it.
If the provider cannot provide the block an error should be thrown.
The provider will then be excluded from ongoing queries.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.
Optionallistener: EventHandler<BlockstoreSessionEvents<Provider>[K]> | nullOptionaloptions: boolean | EventListenerOptionsRetrieve a block from a source
Optionaldetail: CustomEventInit<Detail>AbstracttoTurn a provider into a concise Uint8Array representation for use in a Bloom or Cuckoo filter
The name of the block broker, used for logging purposes