Page Contents

Home > @loopback/context > ContextView > once

ContextView.once() method

Signature:

once(event: string | symbol, listener: (...args: any[]) => void): this;

Parameters

Parameter Type Description
event string | symbol  
listener (…args: any[]) => void  

Returns:

this