Creates a Plugin from a builder. Supports both pipeline and direct call styles. Always returns a factory function (options: T) => Plugin. When T is void, the function takes no arguments: () => Plugin.
Creates a Plugin from a builder. Supports both pipeline and direct call styles. Always returns a factory function (options: T) => Plugin. When T is void, the function takes no arguments: () => Plugin.