setSectorFunction setups a service, which lets you bind a function to a sector (sector can be an unique server or similiar) to return a singleton result.


Client:setSectorFunction(<number> interval, <string> sectorName, (string) functionName, <function> callback, <boolean> returnEnabled)
Returns: <Connection> sectorConnection

The callback function should use these arguments:
<string> functionName, <ANY> data

The function is called by the sendSector.

It is a singleton function. It won't run on all the server - just a single one to avoid function event fired multiple times.


See getSector.


See sendSector.

Revision #7
Created Sat, Jan 19, 2019 9:12 AM by DevKurka
Updated Sun, Apr 21, 2019 10:33 AM by DevKurka