Package dev.gmitch215.bytebox.binding
Interface Pipeline
- All Superinterfaces:
org.teavm.jso.JSObject
public interface Pipeline
extends org.teavm.jso.JSObject
A Pipelines binding. Declared with
pipeline(), named PIPELINE by default.
Ingests records for batching into R2. Send, and the pipeline handles the rest.
- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
send
Sends records.- Parameters:
records- the records
-
sendJson
Sends one record given as JSON.- Parameters:
json- the record, serialised
-
sendRecords
org.teavm.jso.core.JSPromise<org.teavm.jso.JSObject> sendRecords(org.teavm.jso.core.JSArray<TSObject> records)
-