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)
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)
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.
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(),
},
}
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.