Tarmac
  • Introduction
  • Functions
    • Multi-Function Services
  • Writing Functions
    • Supported Languages
    • Go
    • Rust
  • Capabilities
    • Callbacks
    • Functions
    • Logger
    • Metrics
    • Key:Value Datastore
    • SQL Datastore
    • HTTP Client
  • Running Tarmac
    • Configuration
      • BoltDB
      • Redis
      • Cassandra
    • Datastores
      • Key:Value
      • SQL
    • Logging
    • Monitoring
    • Troubleshooting Performance
  • WebAssembly Developer Resources
    • Go SDK
    • Toolkit
    • GitHub
Powered by GitBook
On this page
  • Function
  • Interface Details

Was this helpful?

Export as PDF
  1. Capabilities

Functions

Function to Function calls

The Functions capability allows WASM functions to call other WASM functions. Unlike other callback capabilities, functions must register within the routes configuration within the tarmac.json configuration file.

Function

_, err := wapc.HostCall("tarmac", "function", "function-name", []byte("Input to Function"))

Interface Details

Namespace
Capability
Function
Input
Output

tarmac

function

Function Name

Input Data

Function Output Data

PreviousCallbacksNextLogger

Last updated 1 year ago

Was this helpful?