Home Reference Source
import ObservableQueue from 'rtc-engine/js/util/ObservableQueue.js'
public class | source

ObservableQueue

Extends:

MittQueue → ObservableQueue

Method Summary

Public Methods
public

async * pushes()

Inherited Summary

From class Mitt
public

all: Map<string|symbol, EventHandler<any>[]>

이벤트별 이벤트 핸들러들

public

addEventListener(type: string | symbol, handler: EventHandler<any>): *

on() 메소드의 alias

public

emit(type: string | symbol, evt: Any)

Invoke all handlers for the given type.

public

off(type: string | symbol, handler: EventHandler<any>})

Remove an event handler for the given type.

public

on(type: string | symbol, handler: EventHandler<any>): *

Register an event handler for the given type.

public

once(type: *, handler: *)

public

removeEventListener(type: string | symbol, handler: EventHandler<any>): *

off() 메소드의 alias

From class Queue
public get

size: *

public

data: {}

public
public
public
public

flush()

public

pop(): *

public

push(val: *)

Public Methods

public async * pushes() source