Skip to main content

Name

vctx:get — Get the value of a context variable

Synopsis

vctx:get(type, key);

type: numeric
key: string

Description

Get the value of a context variable. The type parameter can be either msys.core.VCTX_MESS or msys.core.VCTX_CONN. The key parameter is the name of the context variable that you wish to retrieve.

Because this function is in the msys.core namespace, an explicit require('msys.core') is not necessary.

See Also

Was this page helpful?