我想做一个定制的svelte商店,名字是这样的: $myStore.changeValue("my new value") // this would set new value to writable store
$mystore // this would return current value of the store 在Svelte中是可能的吗?
我遇到的问题是.Subscribe无法识别它的任何扩展方法,即用于lambda表达式/方法组的方法。module.Messages.Where(m => m is MemberLeftModuleMessage || m is MemberRemovedModuleMessage).Subscribe我不是RX或WF4的专业人员,但在同样的解决方案中,我在其他地方使用过subscribe。我已经通过NuGet将RX添加到这个项目中。编辑:如果我使用作为方法</em