Skip to content

Setting.then method

Setting › then

Official

Facilitates chaining.

Signature:

then(cb: (setting: this) => unknown): this

Parameters:

Parameter Type Description
cb (setting: this) => unknown The callback to chain.

Returns: thisThe setting.

Since: 0.9.20

Example:

setting.then((x) => {
x.setName('foo');
});