MCPcopy Index your code
hub / github.com/simstudioai/sim / openSession

Method openSession

apps/sim/lib/data-drains/types.ts:105–105  ·  view source on GitHub ↗

* Opens a delivery session for one drain run. Lets destinations amortize * expensive resources (S3Client, keep-alive connections) across all chunks * in a run instead of rebuilding per chunk. Caller must `close()` when done.

(input: { config: TConfig; credentials: TCredentials })

Source from the content-addressed store, hash-verified

103 * in a run instead of rebuilding per chunk. Caller must `close()` when done.
104 */
105 openSession(input: { config: TConfig; credentials: TCredentials }): DrainDeliverySession
106}

Callers 8

runDrainFunction · 0.80
azure_blob.test.tsFile · 0.80
gcs.test.tsFile · 0.80
bigquery.test.tsFile · 0.80
s3.test.tsFile · 0.80
snowflake.test.tsFile · 0.80
webhook.test.tsFile · 0.80
datadog.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected