Scrypted Documentation / ForkOptions
Interface: ForkOptions 
Properties 
name? 
optionalname:string
The name of this fork. This will be used to set the thread name
runtime? 
optionalruntime:string
The runtime to use for this fork. If not specified, the current runtime will be used.
filename? 
optionalfilename:string
The filename to execute in the fork. Not supported in all runtimes.
id? 
optionalid:string
The id of the device that is associated with this fork.
nativeId? 
optionalnativeId:ScryptedNativeId
The native id of the mixin that is associated with this fork.
clusterWorkerId? 
optionalclusterWorkerId:string
The id of the cluster worker id that will execute this fork.
labels? 
optionallabels:object
The labels used to select the cluster worker that will execute this fork.
require? 
optionalrequire:string[]
The worker must have all these labels.
any? 
optionalany:string[]
The worker must have one of these labels.
prefer? 
optionalprefer:string[]
The worker is preferred to have one of these labels. The nearest match will be selected.
