Page Contents

Home > @loopback/context > Binding > once

Binding.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