new DeferredString()
Creates a new lazily evaluated string instance.
constructor(str?: StringConvertible, args?: any[]);
Notes
- This method is used by fmt(), Binding.fmt(), and other methods. Typically, you don’t need to call this constructor yourself.
Parameters
- str — The string to be encapsulated (and translated, formatted, and cached on demand)
- args — The arguments that were (last) passed to
format, or an empty array
Related
class DeferredString
An object that encapsulates a string, evaluated only when needed.
