func()

in lib/send.go [60:103]


func (ch sendLib) CompileOptions() []cel.EnvOption {
	return []cel.EnvOption{
		cel.Function("send_refval_to",
			cel.MemberOverload(
				"dyn_send_refval_string",
				[]*cel.Type{cel.DynType, cel.StringType},
				cel.DynType,
				cel.BinaryBinding(ch.sendRefVal),
				cel.OverloadIsNonStrict(),
			),
			cel.Overload(
				"send_dyn_refval_string",
				[]*cel.Type{cel.DynType, cel.StringType},
				cel.DynType,
				cel.BinaryBinding(ch.sendRefVal),
				cel.OverloadIsNonStrict(),
			),
		),
		cel.Function("send_to",
			cel.MemberOverload(
				"dyn_send_string",
				[]*cel.Type{cel.DynType, cel.StringType},
				cel.DynType,
				cel.BinaryBinding(ch.send),
				cel.OverloadIsNonStrict(),
			),
			cel.Overload(
				"send_dyn_string",
				[]*cel.Type{cel.DynType, cel.StringType},
				cel.DynType,
				cel.BinaryBinding(ch.send),
				cel.OverloadIsNonStrict(),
			),
		),
		cel.Function("close",
			cel.MemberOverload(
				"dyn_close_string",
				[]*cel.Type{cel.DynType, cel.StringType},
				cel.BoolType,
				cel.BinaryBinding(ch.close),
			),
		),
	}
}