我上传了一个 SimpleTable 的小样本:
https://gist.github.com/1080278
现在,它编译但是当我启动服务器时,我得到了:
File "stdlib/core/rpc/core/oparpc.opa", line 360, characters 12-123, (360:12-360:123 | 10511-10622)
@fail: Invalid distant call to function (_v0_create_stdlib.components.simpletable) at File "stdlib/core/rpc/core/oparpc.opa", line 360, characters 69-81, (360:69-360:81 | 10568-10580): there seems to be no client connected
Error: uncaught OPA exception {fail: $"Invalid distant call to function (_v0_create_stdlib.components.simpletable) at File \"stdlib/core/rpc...pa\", line 360, characters 69-81, (360:69-360:81 | 10568-10580): there seems to be no client connecte"$; position: $"File \"stdlib/core/rpc/core/oparpc.opa\", line 360, characters 12-123, (360:12-360:123 | 10511-10622)"$}
*** Stack trace:
Fatal error: exception Scheduler.Empty
有人可以通过解释我们必须如何使用这些组件来帮助我吗?并且还通过向我解释我的示例中的错误之处...
PS:我会用你的答案更正 gist 文件...然后拿 gist 的第一个修订版来查看虚假文件,我希望 gist 的最后一个修订版很快就会成为一个很好的示例使用这个组件!
谢谢你们未来的回答:)