Function: stoneApp()
Function: stoneApp()
function stoneApp<U, V>(options): StoneFactory<U, V>;
Create a new Stone instance with the given options.
This function creates a new Stone instance with the provided options. It allows you to configure the application using the StoneFactory.
Type Parameters
U
U extends IncomingEvent
V
V extends OutgoingResponse
Parameters
options
StoneFactoryOptions = {}
The options to create the Stone instance.
Returns
StoneFactory<U, V>
A new StoneFactory instance.
