@forge/resolver
v1.6.1
Published
Forge function resolver
Downloads
22,482
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.