Page Contents

Home > @loopback/context > BindingKey > generate

BindingKey.generate() method

Generate a unique binding key with uuid

Signature:

static generate<T>(namespace?: string): BindingKey<T>;

Parameters

Parameter Type Description
namespace string Namespace for the binding

Returns:

BindingKey<T>