{"action":"created","issue":{"url":"https://api.github.com/repos/asvd/jailed/issues/2","labels_url":"https://api.github.com/repos/asvd/jailed/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/asvd/jailed/issues/2/comments","events_url":"https://api.github.com/repos/asvd/jailed/issues/2/events","html_url":"https://github.com/asvd/jailed/issues/2","id":54085999,"number":2,"title":"Timeout feature?","user":{"login":"mindeavor","id":17013,"avatar_url":"https://avatars.githubusercontent.com/u/17013?v=3","gravatar_id":"","url":"https://api.github.com/users/mindeavor","html_url":"https://github.com/mindeavor","followers_url":"https://api.github.com/users/mindeavor/followers","following_url":"https://api.github.com/users/mindeavor/following{/other_user}","gists_url":"https://api.github.com/users/mindeavor/gists{/gist_id}","starred_url":"https://api.github.com/users/mindeavor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindeavor/subscriptions","organizations_url":"https://api.github.com/users/mindeavor/orgs","repos_url":"https://api.github.com/users/mindeavor/repos","events_url":"https://api.github.com/users/mindeavor/events{/privacy}","received_events_url":"https://api.github.com/users/mindeavor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-12T18:03:39Z","updated_at":"2015-01-17T00:43:32Z","closed_at":null,"body":"First, thanks for making this, it's great.\r\n\r\nWhat do you think about adding a timeout feature when making remote calls? For example:\r\n\r\n```javascript\r\nplugin.remote.square(2, reportResult, {\r\n  timeout: 2000,\r\n  onTimeout: myTimeoutHandler\r\n});\r\n```\r\n\r\nThis would make guarding against untrusted code very convenient. Thoughts?"},"comment":{"url":"https://api.github.com/repos/asvd/jailed/issues/comments/70345557","html_url":"https://github.com/asvd/jailed/issues/2#issuecomment-70345557","issue_url":"https://api.github.com/repos/asvd/jailed/issues/2","id":70345557,"user":{"login":"mindeavor","id":17013,"avatar_url":"https://avatars.githubusercontent.com/u/17013?v=3","gravatar_id":"","url":"https://api.github.com/users/mindeavor","html_url":"https://github.com/mindeavor","followers_url":"https://api.github.com/users/mindeavor/followers","following_url":"https://api.github.com/users/mindeavor/following{/other_user}","gists_url":"https://api.github.com/users/mindeavor/gists{/gist_id}","starred_url":"https://api.github.com/users/mindeavor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindeavor/subscriptions","organizations_url":"https://api.github.com/users/mindeavor/orgs","repos_url":"https://api.github.com/users/mindeavor/repos","events_url":"https://api.github.com/users/mindeavor/events{/privacy}","received_events_url":"https://api.github.com/users/mindeavor/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T00:43:32Z","updated_at":"2015-01-17T00:43:32Z","body":"Right, they provide a function that assumes it has its own closure for data persistence across turns. I guess it's possible to provide a data store API to the bot, but that might defeat the purpose of the sandbox (or be too much trouble)."}}