[Cuis-dev] Feature #require: completion event or test?

Alexandre Rousseau yalexr at gmail.com
Tue Mar 21 12:57:00 PDT 2023


My point was the system complained that "MyTheme beCurrent " , scripted
after the loading of said packaged theme, was pointing to a non existent
class ... i.e., the loading was not complete when the "beCurrent" message
was sent.    Which makes the loading of packages asynchronous, does it not?

On Tue, Mar 21, 2023 at 3:31 PM <ken.dickey at whidbey.com> wrote:

> On 2023-03-21 12:07, Alexandre Rousseau via Cuis-dev wrote:
>
> > .. The good news is that this implies that the package loader works
> > asynchronously...?...
> >
>
> Nope.  Just a way to check/require other action(s) at start or end of
> package loading.
>
> You can easily make something asynchronous.
>
> Just #fork a BlockClosure which does a Delay>>forMilliseconds: and
> signals some event or takes some action.
>
> HTH,
> -KenD
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230321/d6cb26db/attachment-0001.htm>


More information about the Cuis-dev mailing list