FCF 2.0 development in progress...
> > > >
[News] [Packages API] [Downloads] [Donate to the project] [Contacts]

fcf.setContext() function

fcf.setContext(fcf.Context a_context)

Package: fcf-framework-core

File: fcf-framework-core:fcf.js

Available from version: 2.0.2

Sets the execution context. More information about execution context can be found at Context

Arguments

fcf.Context a_context
- Execution context object

Example: Function application

fcf.setContext(new fcf.Context({context: {language: "ja"}})) console.log(fcf.getContext().language);

Output:

ja