Hi Jed The trouble for me with adopting webworkers is the fact that they only work when served from an HTTPS URI. That rules out using them with a file:// based TiddlyWiki, or with TiddlySpot.
As an aside, over and over again in the last 10 years, I’ve had moments of excitement as browser manufacturers have announced more features to support offline working. However, each time, we find that they are entirely focussed on bringing those enhancements to traditional online services (like those operated by Google), and don’t actually help our central use case. Best wishes Jeremy > On 25 Apr 2016, at 08:06, Jed Carty <[email protected]> wrote: > > I looked at this a bit more and I think that it may have a broader > application than just inter-wiki communication. I am going to have the widget > that creates workers and then worker definitions in other places, then you > can use the same widget to make different types of workers and get something > like threaded behaviour in tiddlywiki. The first example I can think of where > this would be useful would be a simple timer. You can make a timer now, but > this would be simpler and prevent any negative effects on UX from the timer > hogging the main thread. It could also be used for calendar things to spawn > notices when certain conditions are met. > > I am going to look at it some more, but I think that we could put extensible > support into the core for workers and allow new worker types to be defined in > other plugins or tiddlers. This could make triggering things on change events > easier too but I am not sure how much we want to go with that behaviour. > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWikiDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywikidev > <https://groups.google.com/group/tiddlywikidev>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywikidev/bf964e75-9c64-488d-b9d8-b22de374010d%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywikidev/bf964e75-9c64-488d-b9d8-b22de374010d%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/49D14E4E-C28A-4221-921A-4F7DCED6A568%40gmail.com. For more options, visit https://groups.google.com/d/optout.
