Skip to content

Plugged method should plug without a callback #35

Description

@Keboo

Right now when you create a plug and apply it.

eg.

var methodPlug = Nasal.Method(Method);
var propertyPlug = Nasal.Property<string>(Property)
//...
using var _ = Nasal.ApplyAsync(methodPlug, propertyPlug);

These plugs are not applied because a callback/return have not been set on them. These then end up doing nothing. These should instead default to empty callbacks (or throwing callbacks) to provide more expected default behavior.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions