Help with sleitnick's Knit Module

In Knit, Services have a Client table which can be used by controllers to call server functions. (Client → Server)

Is there any way to do the reverse and call controller functions from a service?
(Server → Client)

4 Likes

So I was looking through sleitnick’s Knit Tutorials and I think you’re supposed to use Knit.CreateSignal in the Client table to communicate to the client.

1 Like

That is right

local MyService = Knit.CreateService {
	Name = "MyService",
	Client = {
		-- Create the signal marker, which will turn into a
		-- RemoteSignal when Knit.Start() is called:
		MySignal = Knit.CreateSignal(),
	},
}
3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.