Merge pull request #353 from influxdata/flux/runtime-package
Added the Flux runtime packagepull/372/head
commit
87b4a9f316
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: Flux runtime package
|
||||
list_title: Runtime package
|
||||
description: >
|
||||
The Flux runtime package includes functions that provide information about the
|
||||
current Flux runtime. Import the `runtime` package.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: Runtime
|
||||
parent: Flux packages and functions
|
||||
weight: 202
|
||||
v2.0/tags: [runtime, functions, package]
|
||||
---
|
||||
|
||||
The Flux runtime package includes functions that provide information about the
|
||||
current Flux runtime. Import the `runtime` package:
|
||||
|
||||
```js
|
||||
import "runtime"
|
||||
```
|
||||
|
||||
{{< children type="functions" show="pages" >}}
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: runtime.version() function
|
||||
description: The `runtime.version()` function returns the current Flux version.
|
||||
menu:
|
||||
v2_0_ref:
|
||||
name: runtime.version
|
||||
parent: Runtime
|
||||
weight: 401
|
||||
---
|
||||
|
||||
The `runtime.version()` function returns the current Flux version.
|
||||
|
||||
_**Function type:** Miscellaneous_
|
||||
_**Output data type:** String_
|
||||
|
||||
```js
|
||||
import "runtime"
|
||||
|
||||
runtime.version()
|
||||
```
|
Loading…
Reference in New Issue