0.24.2 • Published 5 years ago

real-value-infrastructure-base v0.24.2

Weekly downloads
3
License
MIT
Repository
gitlab
Last release
5 years ago

real-value-infrastructure-base Library

About

This library provides some based 'infrastructure' for the real-value-lang intepreter. The term 'infrastrucutre' is used to convey that this code connects the interpreter to the operating system and to persistance and messaging services.

Install

npm install real-value-infrastructure-base
yarn install real-value-infrastructure-base

How to use

This functionality is used by default in the real-value-lang interpreter. As a base library the intention is that it can be augemented and used in place of this library.

Infrastructure is passed the real-lang-model instances as they are created.

 let amodel = Model(Infrastructure())

Consequently it is possible to create some infrastructure and then modify it.

let infrastructure = Infrastructure()
infrastructure.table= ()=>{....}
let amodel = Model(Infrastructure())

Here are the signatures for each infrastructure capability provided:

createQueue: function(){
},
createPipe: (downstream, options) => {
},
toFile: function (stream, filename, options) {
},
fromCSV: function (stream, file, options) {
},
fromXLSX: function (stream, file, options) {
},
fromArray: function (stream, streamdata) {
},
fromGenerator: function (stream, generator) {
},
log: function (stream, e) {
},
tap: function (stream, f, x) {
},
map: function (stream, f, x) {
},
split: function (stream, x) {
},
merge: function (stream, x) {
},
table: function (stream, key = x => x.key) {
},
join: function (stream, x, key) {
},
take: function (count) {
},
buffer: function (count) {
    //buffering involves capture the first set of records before releasing them individually 
},
batch: function (stream,delay,maxbatch) {
    //Support batching the events where events are batched into periods of delay and max batch size.
    //  1,2,3,,4,5,,6,, => ,,,[1,2,3],,,,[4,5],[6]
},
filter: function (stream, f, x) {
},
delay: async function (stream, x, delay) {
}
0.24.2

5 years ago

0.24.1

5 years ago

0.24.0

5 years ago

0.23.1

5 years ago

0.23.0

5 years ago

0.22.1

5 years ago

0.21.0

5 years ago

0.22.0

5 years ago

0.20.4

5 years ago

0.20.3

5 years ago

0.20.1

5 years ago

0.20.0

5 years ago

0.19.7

6 years ago

0.19.6

6 years ago

0.19.5

6 years ago

0.19.4

6 years ago

0.19.1

6 years ago

0.19.2

6 years ago

0.19.3

6 years ago

0.19.0

6 years ago

0.18.3

6 years ago

0.18.2

6 years ago

0.18.1

6 years ago

0.18.0

6 years ago

0.17.0

6 years ago

0.17.1

6 years ago

0.16.2

6 years ago

0.16.1

6 years ago

0.16.0

6 years ago

0.15.19

6 years ago

0.15.18

6 years ago

0.15.17

6 years ago

0.15.16

6 years ago

0.15.15

6 years ago

0.15.14

6 years ago

0.15.13

6 years ago

0.15.12

6 years ago

0.15.11

6 years ago

0.15.10

6 years ago

0.15.9

6 years ago

0.15.8

6 years ago

0.15.7

6 years ago

0.15.6

6 years ago

0.15.5

6 years ago

0.15.4

6 years ago

0.15.3

6 years ago

0.15.2

6 years ago

0.15.1

6 years ago

0.15.0

6 years ago

0.14.5

6 years ago

0.14.4

6 years ago

0.14.3

6 years ago

0.14.2

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.5

6 years ago

0.12.4

6 years ago

0.12.3

6 years ago

0.12.2

6 years ago

0.12.1

6 years ago

0.12.0

6 years ago

0.11.2

6 years ago

0.11.1

6 years ago

0.11.0

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.4

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.6

6 years ago

0.7.5

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.8

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago