{"action":"opened","issue":{"url":"https://api.github.com/repos/xanathar/moonsharp/issues/142","repository_url":"https://api.github.com/repos/xanathar/moonsharp","labels_url":"https://api.github.com/repos/xanathar/moonsharp/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/xanathar/moonsharp/issues/142/comments","events_url":"https://api.github.com/repos/xanathar/moonsharp/issues/142/events","html_url":"https://github.com/xanathar/moonsharp/issues/142","id":162272203,"number":142,"title":"Yield from within C# code","user":{"login":"Fraysa","id":1190747,"avatar_url":"https://avatars.githubusercontent.com/u/1190747?v=3","gravatar_id":"","url":"https://api.github.com/users/Fraysa","html_url":"https://github.com/Fraysa","followers_url":"https://api.github.com/users/Fraysa/followers","following_url":"https://api.github.com/users/Fraysa/following{/other_user}","gists_url":"https://api.github.com/users/Fraysa/gists{/gist_id}","starred_url":"https://api.github.com/users/Fraysa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fraysa/subscriptions","organizations_url":"https://api.github.com/users/Fraysa/orgs","repos_url":"https://api.github.com/users/Fraysa/repos","events_url":"https://api.github.com/users/Fraysa/events{/privacy}","received_events_url":"https://api.github.com/users/Fraysa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-25T09:10:50Z","updated_at":"2016-06-25T09:10:50Z","closed_at":null,"body":"I have a method in C# that sends a message to the Console and I use that method in my scripts. How can I yield the script from wirhin C# code and not through the script?\r\n\r\nScript is:\r\n\r\n```\r\n-- This is a test for Rajan Grewal De Patel De 1st!\r\nreturn function()\r\n\tsend(\"hey\");\r\n\tcoroutine.yield();\r\n\tsend(\"heyyy\");\r\nend\r\n```\r\n\r\nI want to call yield from within C# and not the script, how can it be done?"}}
{"actor":{"display_login":"Fraysa"}}