yaksok.ts • Docs
yaksok.ts / RuntimeConfig
Interface: RuntimeConfig
RuntimeConfig 객체를 사용하여 약속 런타임을 설정합니다.
typescript
import { yaksok, RuntimeConfig } from '@yaksok-ts/core'
const runtimeConfig: RuntimeConfig = {
stdout: console.log,
stderr: console.error,
}
yaksok(`"안녕" 보여주기`, runtimeConfig)
Properties
Property | Type | Description | Defined in |
---|---|---|---|
entryPoint | string | Default 'main' Param 시작할 파일 이름 | src/runtime/runtime-config.ts:35 |
flags | Partial <Record <FUTURE_FUNCTION_INVOKE_SYNTAX , boolean >> | - | src/runtime/runtime-config.ts:43 |
runFFI | (runtime : string , code : string , args : FunctionParams ) => ValueTypes | - | src/runtime/runtime-config.ts:42 |
stderr | (message : string ) => void | Default console.error | src/runtime/runtime-config.ts:30 |
stdout | (message : string ) => void | Default console.log | src/runtime/runtime-config.ts:25 |