Skip to content

Commit

Permalink
#37 update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Feb 7, 2025
1 parent 99c29f4 commit 324ad23
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/application/Application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { execute as contextRunService } from "./Context/service/ContextRunServic
import { $getConfig } from "./variable/Config";
import { $getContext } from "./variable/Context";
import { response } from "../infrastructure/Response/variable/Response";
import { cache } from "./variable/Cache";

/**
* @description シーン遷移のコントロールを行うクラス。
Expand Down Expand Up @@ -104,12 +105,25 @@ export class Application
* @description configで設定したリクエストのレスポンスマップを返却します
* Returns the response map of the request set in config
*
* @returns {Map<string, any>}
* @return {Map<string, any>}
* @method
* @public
*/
getResponse (): Map<string, any>
{
return response;
}

/**
* @description キャッシュのMapオブジェクトを返却します
* Returns the Map object of the cache
*
* @return {Map<string, any>}
* @method
* @public
*/
getCache (): Map<string, any>
{
return cache;
}
}

0 comments on commit 324ad23

Please sign in to comment.