-
Notifications
You must be signed in to change notification settings - Fork 21
Support custom slot suppliers #90
Copy link
Copy link
Open
Labels
kind/enhancementImprovements to existing feature.Improvements to existing feature.size/SSmall task. (A couple of hours of work.)Small task. (A couple of hours of work.)status/needs-designNeeds further discussion and a concrete proposal.Needs further discussion and a concrete proposal.
Metadata
Metadata
Assignees
Labels
kind/enhancementImprovements to existing feature.Improvements to existing feature.size/SSmall task. (A couple of hours of work.)Small task. (A couple of hours of work.)status/needs-designNeeds further discussion and a concrete proposal.Needs further discussion and a concrete proposal.
The SlotSupplier type currently supports .fixedSize and .resourceBased variants. The bridge FFI layer also supports a Custom one with callback-based slot suppliers (TemporalCoreCustomSlotSupplierCallbacks), allowing users to implement their own slot allocation logic.
A custom slot supplier requires implementing these callbacks via a Swift protocol: