Function

on-workload-bind

A workload importing one of this plugin's exported capabilities is being bound. Runs to completion before any capability call from that workload is delivered. Returning an error rejects the bind and the workload fails to deploy.

on-workload-bind: async func(workload: workload-info) -> result​<_, string>;