Owl.GetService(name: string): RegisteredService | ServiceProxy
Server & ClientRetrieves a registered entity wrapper. Server-side context provides immediate access to the true private class state; client-side access provides a strictly secure, filtered proxy mapping.
Parameters
name*string | The identifier tracking the targeted service instance. |
Returns
tableFull structural server reference if called on the Server; read-only safe structural proxy if queried on the Client.
Related Types
-- > // Server Execution Code
local DataService = Owl.GetService("DataService")
-- > // Client Execution Code
local DataServiceProxy = Owl.GetService("DataService")
DataServiceProxy.RequestDataFetch:CallServerAsync()