@forge/resolver
v1.6.3
Published
Forge function resolver
Downloads
21,968
Keywords
Readme
Forge Resolver
A helper class that is used to define backend functions that can be called in Forge apps.
Requirements
See Set up Forge for details of the software required to develop Forge apps.
Usage
import Resolver from '@forge/resolver';
const resolver = new Resolver();
resolver.define('getData', () => { return 'Hello world!'; });
resolver.define('setData', (data) => { setData(data); });
const getDefinition = resolver.getDefinitions();
export const getDefinition;
Support
See Get help for how to get help and provide feedback.