type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ClassDeclaration
class ListUsersService { async execute() { const usersRepositories = getCustomRepository(UsersRepositories); const users = await usersRepositories.find(); return classToPlain(users); } }
jairodoni/valoriza
server/src/services/ListUsersService.ts
TypeScript
MethodDeclaration
async execute() { const usersRepositories = getCustomRepository(UsersRepositories); const users = await usersRepositories.find(); return classToPlain(users); }
jairodoni/valoriza
server/src/services/ListUsersService.ts
TypeScript
ArrowFunction
() => this.state = 'fulfilled'
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
ArrowFunction
() => this.state = 'rejected'
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
ClassDeclaration
export class Deferred<T> { public promise: Promise<T>; private fate: 'resolved' | 'unresolved'; private state: 'pending' | 'fulfilled' | 'rejected'; private _resolve: Function; private _reject: Function; constructor() { this.state = 'pending'; this.fate = 'unresolved'; this.promise = new Pro...
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
MethodDeclaration
resolve(value?: any) { if (this.fate === 'resolved') { throw 'Deferred cannot be resolved twice'; } this.fate = 'resolved'; this._resolve(value); }
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
MethodDeclaration
reject(reason?: any) { if (this.fate === 'resolved') { throw 'Deferred cannot be resolved twice'; } this.fate = 'resolved'; this._reject(reason); }
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
MethodDeclaration
isResolved() { return this.fate === 'resolved'; }
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
MethodDeclaration
isPending() { return this.state === 'pending'; }
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
MethodDeclaration
isFulfilled() { return this.state === 'fulfilled'; }
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
MethodDeclaration
isRejected() { return this.state === 'rejected'; }
RSuter/aurelia-bs
src/grid/deferred.ts
TypeScript
ArrowFunction
(editor) => editor.document === vimState.document
Akira1985/Vim
src/cmd_line/commands/quit.ts
TypeScript
ClassDeclaration
// // Implements :quit // http://vimdoc.sourceforge.net/htmldoc/editing.html#:quit // export class QuitCommand extends node.CommandBase { protected _arguments: IQuitCommandArguments; constructor(args: IQuitCommandArguments) { super(); this._arguments = args; } get arguments(): IQuitCommandArguments ...
Akira1985/Vim
src/cmd_line/commands/quit.ts
TypeScript
InterfaceDeclaration
export interface IQuitCommandArguments extends node.ICommandArgs { bang?: boolean; range?: node.LineRange; quitAll?: boolean; }
Akira1985/Vim
src/cmd_line/commands/quit.ts
TypeScript
MethodDeclaration
async execute(vimState: VimState): Promise<void> { // NOTE: We can't currently get all open text editors, so this isn't perfect. See #3809 const duplicatedInSplit = vscode.window.visibleTextEditors.filter((editor) => editor.document === vimState.document) .length > 1; if ( vimState.docu...
Akira1985/Vim
src/cmd_line/commands/quit.ts
TypeScript
FunctionDeclaration
export function Tab(props: Props) { return ( <StyledTab active={props.active} onClick={() => props.onClick()}
acarnagey/Sovryn-frontend
src/app/components/Tab/index.tsx
TypeScript
ArrowFunction
_ => ({ type: 'button', className: 'btn', })
acarnagey/Sovryn-frontend
src/app/components/Tab/index.tsx
TypeScript
ArrowFunction
(props: StyledProps) => props.active && css` background-color: var(--white); &:hover { color: var(--primary); } `
acarnagey/Sovryn-frontend
src/app/components/Tab/index.tsx
TypeScript
InterfaceDeclaration
interface Props { text: string; active: boolean; onClick: () => void; }
acarnagey/Sovryn-frontend
src/app/components/Tab/index.tsx
TypeScript
InterfaceDeclaration
interface StyledProps { active: boolean; }
acarnagey/Sovryn-frontend
src/app/components/Tab/index.tsx
TypeScript
ArrowFunction
(x) => x.lang === this.langStoreValue
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
ArrowFunction
(element) => element.text
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
ArrowFunction
(element) => element.flag
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
ArrowFunction
(isRunning) => { this.isOpenSidebar = isRunning; }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
ArrowFunction
(res) => { if (!res.success) { this.router.navigate(['/authentication/signin']); } }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
@HostListener('window:scroll', []) onWindowScroll() { const offset = this.window.pageYOffset || this.document.documentElement.scrollTop || this.document.body.scrollTop || 0; if (offset > 50) { this.isNavbarShow = true; } else { this.isNavbarShow = false; } }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
ngOnInit() { this.config = this.configService.configData; this.langStoreValue = localStorage.getItem('lang'); const val = this.listLang.filter((x) => x.lang === this.langStoreValue); this.countryName = val.map((element) => element.text); if (val.length === 0) { if (this.flagvalue === undefin...
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
ngAfterViewInit() { // set theme on startup if (localStorage.getItem('theme')) { this.renderer.removeClass(this.document.body, this.config.layout.variant); this.renderer.addClass(this.document.body, localStorage.getItem('theme')); } else { this.renderer.addClass(this.document.body, this.c...
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
callFullscreen() { if ( !document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement ) { if (document.documentElement.requestFullscreen) { document.documentElement.requestFullscreen(); } else if (...
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
setLanguage(text: string, lang: string, flag: string) { this.countryName = text; this.flagvalue = flag; this.langStoreValue = lang; this.languageService.setLanguage(lang); }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
mobileMenuSidebarOpen(event: any, className: string) { const hasClass = event.target.classList.contains(className); if (hasClass) { this.renderer.removeClass(this.document.body, className); } else { this.renderer.addClass(this.document.body, className); } }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
callSidemenuCollapse() { const hasClass = this.document.body.classList.contains('side-closed'); if (hasClass) { this.renderer.removeClass(this.document.body, 'side-closed'); this.renderer.removeClass(this.document.body, 'submenu-closed'); } else { this.renderer.addClass(this.document.body...
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
public toggleRightSidebar(): void { this.subs.sink = this.rightSidebarService.sidebarState.subscribe( (isRunning) => { this.isOpenSidebar = isRunning; } ); this.rightSidebarService.setRightSidebar( (this.isOpenSidebar = !this.isOpenSidebar) ); }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
logout() { this.subs.sink = this.authService.logout().subscribe((res) => { if (!res.success) { this.router.navigate(['/authentication/signin']); } }); }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
ChangePassword(){ this.router.navigate(['/profile/change-password']); }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
MethodDeclaration
ModifyProfile(){ this.router.navigate(['/profile/modify-profile']); }
kiranpasscoverage/passCoverage
ui/src/app/layout/header/header.component.ts
TypeScript
FunctionDeclaration
declare function FastifyCsrfPlugin< HttpServer = any, HttpRequest = any, HttpResponse = any>(opts?: FastifyCsrfPlugin.Options<HttpRequest>): FastifyCsrfPlugin.Plugin< HttpServer, HttpRequest, HttpResponse>;
mksony/fastify-csrf
lib/fastifyCsrf.d.ts
TypeScript
InterfaceDeclaration
interface FastifyRequest<HttpRequest, Query = fastify.DefaultQuery, Params = fastify.DefaultParams, Headers = fastify.DefaultHeaders, Body = any> { csrfToken(): string; }
mksony/fastify-csrf
lib/fastifyCsrf.d.ts
TypeScript
InterfaceDeclaration
interface Options<HttpRequest> extends TokenOptions { value?: (req: HttpRequest) => string; cookie?: fastify.CookieSerializeOptions | boolean; ignoreMethods?: string[]; sessionKey?: string; }
mksony/fastify-csrf
lib/fastifyCsrf.d.ts
TypeScript
InterfaceDeclaration
interface Plugin<HttpServer, HttpRequest, HttpResponse> extends fastify.Plugin<HttpServer, HttpRequest, HttpResponse, FastifyCsrfPlugin.Options<HttpRequest>> { }
mksony/fastify-csrf
lib/fastifyCsrf.d.ts
TypeScript
ClassDeclaration
export declare class Querier { private static initCalled; private static hosts; private static apiKey; private static apiVersion; private static lastTriedIndex; private static hostsAliveForTesting; private __hosts; private rIdToCore; private constructor(); getAPIVersion: () => P...
suryatmodulus/supertokens-node
lib/build/querier.d.ts
TypeScript
MethodDeclaration
static reset(): void;
suryatmodulus/supertokens-node
lib/build/querier.d.ts
TypeScript
MethodDeclaration
static getNewInstanceOrThrowError(rIdToCore?: string): Querier;
suryatmodulus/supertokens-node
lib/build/querier.d.ts
TypeScript
MethodDeclaration
static init( hosts?: { domain: NormalisedURLDomain; basePath: NormalisedURLPath; }[], apiKey?: string ): void;
suryatmodulus/supertokens-node
lib/build/querier.d.ts
TypeScript
FunctionDeclaration
export function SideBar(props: SideBarProps) { // Complete aqui function handleClickButton(id: number) { props.setSelectedGenreId(id); } return ( <> <span> Watch<p>Me</p> </span> <div className='buttons-container'> {props.genres.map((genre) => ( <Button ...
mfrancis1234/desafio-02-componentes
src/components/SideBar.tsx
TypeScript
FunctionDeclaration
// Complete aqui function handleClickButton(id: number) { props.setSelectedGenreId(id); }
mfrancis1234/desafio-02-componentes
src/components/SideBar.tsx
TypeScript
ArrowFunction
(genre) => ( <Button key={String(genre.id
mfrancis1234/desafio-02-componentes
src/components/SideBar.tsx
TypeScript
InterfaceDeclaration
interface SideBarProps { genres: IGenres[]; setSelectedGenreId: (id: number) => void; selectedGenreId: number; }
mfrancis1234/desafio-02-componentes
src/components/SideBar.tsx
TypeScript
InterfaceDeclaration
interface IGenres { id: number; title: string; name: "action" | "comedy" | "documentary" | "drama" | "horror" | "family"; }
mfrancis1234/desafio-02-componentes
src/components/SideBar.tsx
TypeScript
ClassDeclaration
@NgModule({ imports: [RouterModule.forRoot(routes)], exports: [RouterModule], }) export class AppRoutingModule {}
coding-castle/rss-tiles
src/app/app-routing.module.ts
TypeScript
ArrowFunction
() => { let mockTitleService: IMock<TitleService>; let fixture: ComponentFixture<ErrorComponent>; let pageObject: ErrorPageObject; beforeEach(() => { mockTitleService = Mock.ofType<TitleService>(); mockTitleService.setup(x => x.setTitle(It.isAnyString())); mockTitleService.setup(x => x.resetTitle(...
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
() => { mockTitleService = Mock.ofType<TitleService>(); mockTitleService.setup(x => x.setTitle(It.isAnyString())); mockTitleService.setup(x => x.resetTitle()); TestBed.configureTestingModule({ imports: [RouterTestingModule], declarations: [ErrorComponent], schemas: [CUSTOM_ELEMENTS_S...
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
x => x.setTitle(It.isAnyString())
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
x => x.resetTitle()
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
() => mockTitleService.object
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
() => { const heading = pageObject.title; expect(heading).toBeTruthy(); expect(heading.textContent.length).toBeGreaterThan(0); }
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
() => { const links = pageObject.navigationLinks; expect(links).toBeTruthy(); expect(links.length).toBeGreaterThan(0); }
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
() => { mockTitleService.verify(s => s.resetTitle(), Times.once()); expect().nothing(); }
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ArrowFunction
s => s.resetTitle()
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
ClassDeclaration
class ErrorPageObject extends PageObjectBase<ErrorComponent> { public get title(): HTMLHeadingElement { return this.select('[data-title]'); } public get navigationLinks(): HTMLAnchorElement[] { return this.selectAll('[data-navigation] a'); } }
jbrowneuk/jblog
src/app/error/error.component.spec.ts
TypeScript
FunctionDeclaration
function useEventListener<K extends keyof WindowEventMap>( eventName: K, handler: (event: WindowEventMap[K]) => void, ): void;
glekner/kubevirt-plugin
src/utils/hooks/useEventListener.ts
TypeScript
FunctionDeclaration
function useEventListener< K extends keyof HTMLElementEventMap, T extends HTMLElement = HTMLDivElement, >(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, element: RefObject<T>): void;
glekner/kubevirt-plugin
src/utils/hooks/useEventListener.ts
TypeScript
FunctionDeclaration
/** * Hook that creates an event listener. * @param eventName The name of the event to listen to. * @param handler The handler to call when the event is triggered. * @param element The element to attach the event listener to. */ function useEventListener< KW extends keyof WindowEventMap, KH extends keyof HTMLE...
glekner/kubevirt-plugin
src/utils/hooks/useEventListener.ts
TypeScript
ArrowFunction
() => { // Define the listening target const targetElement: T | Window = element?.current || window; if (!(targetElement && targetElement.addEventListener)) { return; } // Update saved handler if necessary if (savedHandler.current !== handler) { savedHandler.current = handler; ...
glekner/kubevirt-plugin
src/utils/hooks/useEventListener.ts
TypeScript
ArrowFunction
(event) => { if (savedHandler?.current) { savedHandler.current(event); } }
glekner/kubevirt-plugin
src/utils/hooks/useEventListener.ts
TypeScript
ArrowFunction
() => { targetElement.removeEventListener(eventName, eventListener); }
glekner/kubevirt-plugin
src/utils/hooks/useEventListener.ts
TypeScript
ArrowFunction
it => predicate(it.index, it.value)
youssefali424/sequency
src/filterIndexed.ts
TypeScript
ArrowFunction
it => it.value
youssefali424/sequency
src/filterIndexed.ts
TypeScript
ClassDeclaration
export class FilterIndexed { /** * Returns a new sequence consisting of all elements that match the given `predicate`. * * @param {(index: number, value: T) => boolean} predicate * @returns {Sequence<T>} */ filterIndexed<T>( this: Sequence<T>, predicate: (index: number, value: T) => boolean ...
youssefali424/sequency
src/filterIndexed.ts
TypeScript
MethodDeclaration
/** * Returns a new sequence consisting of all elements that match the given `predicate`. * * @param {(index: number, value: T) => boolean} predicate * @returns {Sequence<T>} */ filterIndexed<T>( this: Sequence<T>, predicate: (index: number, value: T) => boolean ): Sequence<T> { return this...
youssefali424/sequency
src/filterIndexed.ts
TypeScript
InterfaceDeclaration
/* tslint:disable */ /* eslint-disable */ // This file was automatically generated and should not be edited. // ==================================================== // GraphQL query operation: SearchAttribute // ==================================================== export interface SearchAttribute_attributes_edges_node_...
Alexander-Field/saleor
saleor/static/dashboard-next/productTypes/types/SearchAttribute.ts
TypeScript
InterfaceDeclaration
export interface SearchAttribute_attributes_edges_node { __typename: "Attribute"; id: string; name: string | null; slug: string | null; values: (SearchAttribute_attributes_edges_node_values | null)[] | null; }
Alexander-Field/saleor
saleor/static/dashboard-next/productTypes/types/SearchAttribute.ts
TypeScript
InterfaceDeclaration
export interface SearchAttribute_attributes_edges { __typename: "AttributeCountableEdge"; node: SearchAttribute_attributes_edges_node; }
Alexander-Field/saleor
saleor/static/dashboard-next/productTypes/types/SearchAttribute.ts
TypeScript
InterfaceDeclaration
export interface SearchAttribute_attributes { __typename: "AttributeCountableConnection"; edges: SearchAttribute_attributes_edges[]; }
Alexander-Field/saleor
saleor/static/dashboard-next/productTypes/types/SearchAttribute.ts
TypeScript
InterfaceDeclaration
export interface SearchAttribute { attributes: SearchAttribute_attributes | null; }
Alexander-Field/saleor
saleor/static/dashboard-next/productTypes/types/SearchAttribute.ts
TypeScript
InterfaceDeclaration
export interface SearchAttributeVariables { search: string; }
Alexander-Field/saleor
saleor/static/dashboard-next/productTypes/types/SearchAttribute.ts
TypeScript
FunctionDeclaration
export function TaskList() { const [tasks, setTasks] = useState<Task[]>([]); const [newTaskTitle, setNewTaskTitle] = useState(''); function handleCreateNewTask() { if(newTaskTitle !== '') { setTasks([...tasks, { id: new Date().getTime(), title: newTaskTitle, isComplete: false }]); } } functio...
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
FunctionDeclaration
function handleCreateNewTask() { if(newTaskTitle !== '') { setTasks([...tasks, { id: new Date().getTime(), title: newTaskTitle, isComplete: false }]); } }
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
FunctionDeclaration
function handleToggleTaskCompletion(id: number) { const updatedTask = tasks.map(task => ({...task})); const task = updatedTask.find(task => task.id === id); if(task) { task.isComplete = !task.isComplete; setTasks(updatedTask); } }
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
FunctionDeclaration
function handleRemoveTask(id: number) { setTasks(oldState => oldState.filter(task => task.id !== id)); }
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
ArrowFunction
task => ({...task})
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
ArrowFunction
task => task.id === id
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
ArrowFunction
oldState => oldState.filter(task => task.id !== id)
davihoffmann/desafio-01-conceitos-react
src/components/TaskList.tsx
TypeScript
ClassDeclaration
export default class Consumer extends EnhancedEventEmitter { private readonly _internal; private readonly _data; private readonly _channel; private _closed; private readonly _appData?; private _paused; private _producerPaused; private _priority; private _score; private _preferre...
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
InterfaceDeclaration
export interface ConsumerOptions { /** * The id of the Producer to consume. */ producerId: string; /** * RTP capabilities of the consuming endpoint. */ rtpCapabilities?: RtpCapabilities; /** * Whether the Consumer must start in paused mode. Default false. * * When...
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
InterfaceDeclaration
/** * 'trace' event data. */ export interface ConsumerTraceEventData { /** * Trace type. */ type: ConsumerTraceEventType; /** * Event timestamp. */ timestamp: number; /** * Event direction. */ direction: 'in' | 'out'; /** * Per type information. */ ...
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
InterfaceDeclaration
export interface ConsumerScore { /** * The score of the RTP stream of the consumer. */ score: number; /** * The score of the currently selected RTP stream of the producer. */ producerScore: number; }
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
InterfaceDeclaration
export interface ConsumerLayers { /** * The spatial layer index (from 0 to N). */ spatialLayer: number; /** * The temporal layer index (from 0 to N). */ temporalLayer?: number; }
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
InterfaceDeclaration
export interface ConsumerStat { type: string; timestamp: number; ssrc: number; rtxSsrc?: number; kind: string; mimeType: string; packetsLost: number; fractionLost: number; packetsDiscarded: number; packetsRetransmitted: number; packetsRepaired: number; nackCount: number;...
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
TypeAliasDeclaration
/** * Valid types for 'trace' event. */ export declare type ConsumerTraceEventType = 'rtp' | 'keyframe' | 'nack' | 'pli' | 'fir';
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
TypeAliasDeclaration
/** * Consumer type. */ export declare type ConsumerType = 'simple' | 'simulcast' | 'svc' | 'pipe';
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Close the Consumer. */ close(): void;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Dump Consumer. */ dump(): Promise<any>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Get Consumer stats. */ getStats(): Promise<Array<ConsumerStat | ProducerStat>>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Pause the Consumer. */ pause(): Promise<void>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Resume the Consumer. */ resume(): Promise<void>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Set preferred video layers. */ setPreferredLayers({ spatialLayer, temporalLayer }: ConsumerLayers): Promise<void>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Set priority. */ setPriority(priority: number): Promise<void>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Unset priority. */ unsetPriority(): Promise<void>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript
MethodDeclaration
/** * Request a key frame to the Producer. */ requestKeyFrame(): Promise<void>;
aLexdcl/mediasoup
lib/Consumer.d.ts
TypeScript