getChannel.lua 454 B

123456789101112131415161718192021
  1. return {
  2. summary = 'Get a Channel for communicating between threads.',
  3. description = 'Returns a named Channel for communicating between threads.',
  4. arguments = {
  5. {
  6. name = 'name',
  7. type = 'string',
  8. description = 'The name of the Channel to get.'
  9. }
  10. },
  11. returns = {
  12. {
  13. name = 'channel',
  14. type = 'Channel',
  15. description = 'The Channel with the specified name.'
  16. }
  17. },
  18. related = {
  19. 'Channel'
  20. }
  21. }