Skip to content

yaksok.tsDocs


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

PropertyTypeDescriptionDefined in
entryPointstringDefault 'main' Param 시작할 파일 이름src/runtime/runtime-config.ts:35
flagsPartial<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) => voidDefault console.errorsrc/runtime/runtime-config.ts:30
stdout(message: string) => voidDefault console.logsrc/runtime/runtime-config.ts:25